Module Name: src
Committed By: abs
Date: Mon Jun 25 16:48:55 UTC 2012
Modified Files:
src/share/mk: bsd.sys.mk
Log Message:
Whatever "-Wl,--fatal-warnings" get-out-of-jail-free card gcc-4.5 gets,
give the same treatment to gcc-4.1.
To generate a diff of this commit:
cvs rdiff -u -r1.215 -r1.216 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.215 src/share/mk/bsd.sys.mk:1.216
--- src/share/mk/bsd.sys.mk:1.215 Tue Mar 20 21:48:20 2012
+++ src/share/mk/bsd.sys.mk Mon Jun 25 16:48:55 2012
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.sys.mk,v 1.215 2012/03/20 21:48:20 matt Exp $
+# $NetBSD: bsd.sys.mk,v 1.216 2012/06/25 16:48:55 abs Exp $
#
# Build definitions used for NetBSD source tree builds.
@@ -40,7 +40,7 @@ CFLAGS+= -Wa,--fatal-warnings
.if (!defined(MKPIC) || ${MKPIC} != "no") && \
(!defined(LDSTATIC) || ${LDSTATIC} != "-static")
# XXX there are some strange problems not yet resolved
-. if !defined(HAVE_GCC) || ${HAVE_GCC} != 45
+. if !defined(HAVE_GCC)
LDFLAGS+= -Wl,--fatal-warnings
. endif
.endif