Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk Check for MKSOFTFLOAT being defined before testing ...



details:   https://anonhg.NetBSD.org/src/rev/ab78c6a0aa06
branches:  trunk
changeset: 512070:ab78c6a0aa06
user:      scw <scw%NetBSD.org@localhost>
date:      Wed Jul 04 17:46:06 2001 +0000

description:
Check for MKSOFTFLOAT being defined before testing its value.
Needed for crunchgen(1) generated makefiles (e.g. miniroot builds).

diffstat:

 share/mk/bsd.sys.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 01ab097dd8d0 -r ab78c6a0aa06 share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk       Wed Jul 04 17:15:07 2001 +0000
+++ b/share/mk/bsd.sys.mk       Wed Jul 04 17:46:06 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.sys.mk,v 1.47 2001/06/18 17:04:45 simonb Exp $
+#      $NetBSD: bsd.sys.mk,v 1.48 2001/07/04 17:46:06 scw Exp $
 #
 # Overrides used for NetBSD source tree builds.
 
@@ -35,7 +35,7 @@
 CPPFLAGS+= -D__AUDIT__
 .endif
 
-.if (${MKSOFTFLOAT} != "no")
+.if defined(MKSOFTFLOAT) && (${MKSOFTFLOAT} != "no")
 COPTS+=                -msoft-float
 FOPTS+=                -msoft-float
 .endif



Home | Main Index | Thread Index | Old Index