Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk -Wa, --fatal-warnings is a GCC flag and unknown to c...
details: https://anonhg.NetBSD.org/src/rev/30d6523a02c5
branches: trunk
changeset: 350343:30d6523a02c5
user: maya <maya%NetBSD.org@localhost>
date: Tue Jan 10 17:16:19 2017 +0000
description:
-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.
diffstat:
share/mk/bsd.sys.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 8ebc288bf431 -r 30d6523a02c5 share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk Tue Jan 10 17:00:58 2017 +0000
+++ b/share/mk/bsd.sys.mk Tue Jan 10 17:16:19 2017 +0000
@@ -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+= ${${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"
Home |
Main Index |
Thread Index |
Old Index