Module Name: src Committed By: maya Date: Tue Jan 10 17:16:20 UTC 2017
Modified Files: src/share/mk: bsd.sys.mk Log Message: -Wa,--fatal-warnings is a GCC flag and unknown to clang. make it GCC specific, so we can (try to) build a kernel with higher WARNS using clang. To generate a diff of this commit: cvs rdiff -u -r1.263 -r1.264 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.263 src/share/mk/bsd.sys.mk:1.264 --- src/share/mk/bsd.sys.mk:1.263 Sat Dec 24 17:44:22 2016 +++ src/share/mk/bsd.sys.mk Tue Jan 10 17:16:19 2017 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.sys.mk,v 1.263 2016/12/24 17:44:22 christos Exp $ +# $NetBSD: bsd.sys.mk,v 1.264 2017/01/10 17:16:19 maya Exp $ # # Build definitions used for NetBSD source tree builds. @@ -56,7 +56,7 @@ CFLAGS+= -Wno-sign-compare CFLAGS+= ${${ACTIVE_CC} == "gcc" :? -Wno-traditional :} .if !defined(NOGCCERROR) # Set assembler warnings to be fatal -CFLAGS+= -Wa,--fatal-warnings +CFLAGS+= ${${ACTIVE_CC} == "gcc" :? -Wa,--fatal-warnings :} .endif .if ${MKRELRO:Uno} != "no"