Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Back out previous. This has no chance to work unles...
details: https://anonhg.NetBSD.org/src/rev/0f8b05ff80a5
branches: trunk
changeset: 466997:0f8b05ff80a5
user: christos <christos%NetBSD.org@localhost>
date: Wed Jan 08 22:04:24 2020 +0000
description:
Back out previous. This has no chance to work unless the make variable parsing
is not changed do that instead of scanning for a single character delim ':',
it scans for "?:". This is because !empty(COMPILE.c:M*-pg*) contains a ':'.
diffstat:
share/mk/sys.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 975ab914ed3b -r 0f8b05ff80a5 share/mk/sys.mk
--- a/share/mk/sys.mk Wed Jan 08 20:59:18 2020 +0000
+++ b/share/mk/sys.mk Wed Jan 08 22:04:24 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: sys.mk,v 1.141 2020/01/08 04:15:45 christos Exp $
+# $NetBSD: sys.mk,v 1.142 2020/01/08 22:04:24 christos Exp $
# @(#)sys.mk 8.2 (Berkeley) 3/21/94
#
# This file contains the basic rules for make(1) and is read first
@@ -34,7 +34,7 @@
.elif ${MACHINE_ARCH} == "coldfire"
DBG?= -O1
.elif !empty(MACHINE_ARCH:Maarch64*)
-DBG?= -O2 ${!empty(COMPILE.c:M*-pg*) || !empty(COMPILE.cc:M*-pg*) :? -fomit-frame-pointer:}
+DBG?= -O2 ${"${.TARGET:M*.po}" == "":? -fomit-frame-pointer:}
.else
DBG?= -O2
.endif
Home |
Main Index |
Thread Index |
Old Index