Source-Changes-HG archive

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

[src/trunk]: src/share/mk brace a --fatal-warnings with a NOGCCERROR check.



details:   https://anonhg.NetBSD.org/src/rev/85805dbf00de
branches:  trunk
changeset: 750063:85805dbf00de
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Dec 15 04:03:55 2009 +0000

description:
brace a --fatal-warnings with a NOGCCERROR check.

diffstat:

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

diffs (21 lines):

diff -r c056636d681b -r 85805dbf00de share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk       Tue Dec 15 03:39:19 2009 +0000
+++ b/share/mk/bsd.sys.mk       Tue Dec 15 04:03:55 2009 +0000
@@ -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



Home | Main Index | Thread Index | Old Index