Source-Changes-HG archive

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

[src/trunk]: src/share/mk # XXX GCC 4.5 for dreamcast is extra noisy for case...



details:   https://anonhg.NetBSD.org/src/rev/8cd918177346
branches:  trunk
changeset: 767073:8cd918177346
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Jul 08 03:29:52 2011 +0000

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

diffstat:

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

diffs (20 lines):

diff -r 34ac42ba3ea6 -r 8cd918177346 share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk       Fri Jul 08 03:29:15 2011 +0000
+++ b/share/mk/bsd.sys.mk       Fri Jul 08 03:29:52 2011 +0000
@@ -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}}



Home | Main Index | Thread Index | Old Index