Source-Changes-HG archive

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

[src/trunk]: src/share/mk Re-add check for defined(MKSOFTFLOAT) that got lost...



details:   https://anonhg.NetBSD.org/src/rev/fdc923d83afb
branches:  trunk
changeset: 517584:fdc923d83afb
user:      wiz <wiz%NetBSD.org@localhost>
date:      Thu Nov 15 12:15:09 2001 +0000

description:
Re-add check for defined(MKSOFTFLOAT) that got lost in v1.60.
Needed for Makefiles which include bsd.sys.mk, but not bsd.own.mk,
like distrib/macppc/floppies/ramdisk/Makefile.
Okay'd by simonb.

diffstat:

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

diffs (18 lines):

diff -r f525d5e5eda0 -r fdc923d83afb share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk       Thu Nov 15 09:47:59 2001 +0000
+++ b/share/mk/bsd.sys.mk       Thu Nov 15 12:15:09 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.sys.mk,v 1.61 2001/11/14 21:49:54 tv Exp $
+#      $NetBSD: bsd.sys.mk,v 1.62 2001/11/15 12:15:09 wiz Exp $
 #
 # Build definitions used for NetBSD source tree builds.
 
@@ -28,7 +28,7 @@
 CFLAGS+=       ${NOGCCERROR:U-Werror} ${CWARNFLAGS}
 LINTFLAGS+=    ${DESTDIR:D-d ${DESTDIR}/usr/include}
 
-.if ${MKSOFTFLOAT} != "no"
+.if defined(MKSOFTFLOAT) && (${MKSOFTFLOAT} != "no")
 COPTS+=                -msoft-float
 FOPTS+=                -msoft-float
 .endif



Home | Main Index | Thread Index | Old Index