Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk No -Wno-traditional for clang.
details: https://anonhg.NetBSD.org/src/rev/2c41d7216eb8
branches: trunk
changeset: 765225:2c41d7216eb8
user: joerg <joerg%NetBSD.org@localhost>
date: Sun May 22 20:24:46 2011 +0000
description:
No -Wno-traditional for clang.
diffstat:
share/mk/bsd.sys.mk | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 3617c0a1104e -r 2c41d7216eb8 share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk Sun May 22 20:11:47 2011 +0000
+++ b/share/mk/bsd.sys.mk Sun May 22 20:24:46 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.sys.mk,v 1.194 2011/05/17 01:12:34 christos Exp $
+# $NetBSD: bsd.sys.mk,v 1.195 2011/05/22 20:24:46 joerg Exp $
#
# Build definitions used for NetBSD source tree builds.
@@ -27,7 +27,8 @@
# in a traditional environment' warning, as opposed to 'this code behaves
# differently in traditional and ansi environments' which is the warning
# we wanted, and now we don't get anymore.
-CFLAGS+= -Wno-sign-compare -Wno-traditional
+CFLAGS+= -Wno-sign-compare
+CFLAGS+= ${${ACTIVE_CC} != "clang":? -Wno-traditional :}
.if !defined(NOGCCERROR)
# Set assembler warnings to be fatal
CFLAGS+= -Wa,--fatal-warnings
Home |
Main Index |
Thread Index |
Old Index