Module Name:    src
Committed By:   mrg
Date:           Tue Dec 15 04:03:55 UTC 2009

Modified Files:
        src/share/mk: bsd.sys.mk

Log Message:
brace a --fatal-warnings with a NOGCCERROR check.


To generate a diff of this commit:
cvs rdiff -u -r1.188 -r1.189 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.188 src/share/mk/bsd.sys.mk:1.189
--- src/share/mk/bsd.sys.mk:1.188	Mon Dec 14 01:00:46 2009
+++ src/share/mk/bsd.sys.mk	Tue Dec 15 04:03:55 2009
@@ -1,4 +1,4 @@
-#	$NetBSD: bsd.sys.mk,v 1.188 2009/12/14 01:00:46 matt Exp $
+#	$NetBSD: bsd.sys.mk,v 1.189 2009/12/15 04:03:55 mrg Exp $
 #
 # Build definitions used for NetBSD source tree builds.
 
@@ -89,9 +89,11 @@
 CFLAGS+=	-Wa,-Av8plus
 .endif
 
+.if !defined(NOGCCERROR)
 .if (${MACHINE_ARCH} == "mips64el") || (${MACHINE_ARCH} == "mips64eb")
 CPUFLAGS+=	-Wa,--fatal-warnings
 .endif
+.endif
 
 #.if ${MACHINE} == "sbmips"
 #CFLAGS+=	-mips64 -mtune=sb1

Reply via email to