Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Simplify a bit
details: https://anonhg.NetBSD.org/src/rev/258d25a14592
branches: trunk
changeset: 765228:258d25a14592
user: joerg <joerg%NetBSD.org@localhost>
date: Sun May 22 20:52:12 2011 +0000
description:
Simplify a bit
diffstat:
share/mk/bsd.sys.mk | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (41 lines):
diff -r 3eddee7e46e7 -r 258d25a14592 share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk Sun May 22 20:49:46 2011 +0000
+++ b/share/mk/bsd.sys.mk Sun May 22 20:52:12 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.sys.mk,v 1.196 2011/05/22 20:49:16 joerg Exp $
+# $NetBSD: bsd.sys.mk,v 1.197 2011/05/22 20:52:12 joerg Exp $
#
# Build definitions used for NetBSD source tree builds.
@@ -72,14 +72,14 @@
HAS_SSP= yes
.endif
-.if defined(USE_FORT) && (${USE_FORT} != "no")
+.if ${USE_FORT:Uno} != "no"
USE_SSP?= yes
.if !defined(KERNSRCDIR) && !defined(KERN) # not for kernels nor kern modules
CPPFLAGS+= -D_FORTIFY_SOURCE=2
.endif
.endif
-.if defined(USE_SSP) && (${USE_SSP} != "no") && (${BINDIR:Ux} != "/usr/mdec")
+.if (${USE_SSP:Uno} != "no") && (${BINDIR:Ux} != "/usr/mdec")
.if ${HAS_SSP} == "yes"
COPTS+= -fstack-protector -Wstack-protector
COPTS+= ${${ACTIVE_CC} == "clang":? -mllvm -stack-protector-buffer-size=1 :}
@@ -87,12 +87,12 @@
.endif
.endif
-.if defined(MKSOFTFLOAT) && (${MKSOFTFLOAT} != "no")
+.if ${MKSOFTFLOAT:Uno} != "no"
COPTS+= -msoft-float
FOPTS+= -msoft-float
.endif
-.if defined(MKIEEEFP) && (${MKIEEEFP} != "no")
+.if ${MKIEEEFP:Uno} != "no"
.if ${MACHINE_ARCH} == "alpha"
CFLAGS+= -mieee
FFLAGS+= -mieee
Home |
Main Index |
Thread Index |
Old Index