Module Name:    src
Committed By:   mrg
Date:           Fri Jul  8 03:29:53 UTC 2011

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

Log Message:
# XXX GCC 4.5 for dreamcast is extra noisy for cases it should be better with
workaround via: CFLAGS+=      -Wno-uninitialized


To generate a diff of this commit:
cvs rdiff -u -r1.205 -r1.206 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.205 src/share/mk/bsd.sys.mk:1.206
--- src/share/mk/bsd.sys.mk:1.205	Wed Jun 29 08:10:05 2011
+++ src/share/mk/bsd.sys.mk	Fri Jul  8 03:29:52 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: bsd.sys.mk,v 1.205 2011/06/29 08:10:05 mrg Exp $
+#	$NetBSD: bsd.sys.mk,v 1.206 2011/07/08 03:29:52 mrg Exp $
 #
 # Build definitions used for NetBSD source tree builds.
 
@@ -63,6 +63,10 @@
 CFLAGS+=	-Wsign-compare
 CFLAGS+=	${${ACTIVE_CC} == "clang":? -Wpointer-sign :}
 .endif
+.if defined(HAVE_GCC) && ${HAVE_GCC} == 45 && ${MACHINE} == "dreamcast"
+# XXX GCC 4.5 for dreamcast is extra noisy for cases it should be better with
+CFLAGS+=	-Wno-uninitialized
+.endif
 .endif
 
 CWARNFLAGS+=	${CWARNFLAGS.${ACTIVE_CC}}

Reply via email to