Source-Changes-HG archive

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

[src/trunk]: src/share/mk Fix broken conditional to get manual builds (not us...



details:   https://anonhg.NetBSD.org/src/rev/ae0ccd08de5a
branches:  trunk
changeset: 748970:ae0ccd08de5a
user:      tron <tron%NetBSD.org@localhost>
date:      Thu Nov 12 08:51:50 2009 +0000

description:
Fix broken conditional to get manual builds (not using "build.sh")
working again.

diffstat:

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

diffs (20 lines):

diff -r 30ecc245dc38 -r ae0ccd08de5a share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk       Thu Nov 12 08:41:49 2009 +0000
+++ b/share/mk/bsd.sys.mk       Thu Nov 12 08:51:50 2009 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.sys.mk,v 1.182 2009/11/11 16:35:45 tron Exp $
+#      $NetBSD: bsd.sys.mk,v 1.183 2009/11/12 08:51:50 tron Exp $
 #
 # Build definitions used for NetBSD source tree builds.
 
@@ -59,8 +59,8 @@
 HAS_SSP=       yes
 .endif
 
-.if ((${MACHINE_ARCH} == "amd64") || (${MACHINE_ARCH} == "i386") && \
-     (_SRC_TOP_ != ""))
+.if ((${MACHINE_ARCH} == "amd64") || (${MACHINE_ARCH} == "i386")) && \
+     defined(_SRC_TOP_) && (${_SRC_TOP_} != "")
 USE_SSP?=      yes
 .endif
 



Home | Main Index | Thread Index | Old Index