Module Name: src Committed By: plunky Date: Tue May 27 16:16:01 UTC 2014
Modified Files: src/share/mk: bsd.sys.mk Log Message: use -Wno-traditional only for GCC rather than !CLANG To generate a diff of this commit: cvs rdiff -u -r1.238 -r1.239 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.238 src/share/mk/bsd.sys.mk:1.239 --- src/share/mk/bsd.sys.mk:1.238 Tue May 27 16:14:03 2014 +++ src/share/mk/bsd.sys.mk Tue May 27 16:16:01 2014 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.sys.mk,v 1.238 2014/05/27 16:14:03 plunky Exp $ +# $NetBSD: bsd.sys.mk,v 1.239 2014/05/27 16:16:01 plunky Exp $ # # Build definitions used for NetBSD source tree builds. @@ -37,7 +37,7 @@ CFLAGS+= -Wall -Wstrict-prototypes -Wmis # differently in traditional and ansi environments' which is the warning # we wanted, and now we don't get anymore. CFLAGS+= -Wno-sign-compare -CFLAGS+= ${${ACTIVE_CC} != "clang":? -Wno-traditional :} +CFLAGS+= ${${ACTIVE_CC} == "gcc" :? -Wno-traditional :} .if !defined(NOGCCERROR) # Set assembler warnings to be fatal CFLAGS+= -Wa,--fatal-warnings