Module Name:    src
Committed By:   uebayasi
Date:           Tue Aug 18 16:10:44 UTC 2009

Modified Files:
        src/share/mk [matt-nb5-mips64]: bsd.sys.mk

Log Message:
${MKPIC} is not always defined.


To generate a diff of this commit:
cvs rdiff -u -r1.179.8.2 -r1.179.8.3 src/share/mk/bsd.sys.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/mk/bsd.sys.mk
diff -u src/share/mk/bsd.sys.mk:1.179.8.2 src/share/mk/bsd.sys.mk:1.179.8.3
--- src/share/mk/bsd.sys.mk:1.179.8.2	Tue Aug 18 06:42:18 2009
+++ src/share/mk/bsd.sys.mk	Tue Aug 18 16:10:44 2009
@@ -1,4 +1,4 @@
-#	$NetBSD: bsd.sys.mk,v 1.179.8.2 2009/08/18 06:42:18 matt Exp $
+#	$NetBSD: bsd.sys.mk,v 1.179.8.3 2009/08/18 16:10:44 uebayasi Exp $
 #
 # Build definitions used for NetBSD source tree builds.
 
@@ -91,7 +91,7 @@
 #.endif
 
 .if (${MACHINE_ARCH} == "mips64el" || ${MACHINE_ARCH} == "mips64eb") && \
-    ${MKPIC} == "no"
+    (defined(MKPIC) && ${MKPIC} == "no")
 COPTS+=		-mno-abicalls -fno-PIC
 .endif
 CFLAGS+=	${CPUFLAGS}

Reply via email to