Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Reorder CWARNFLAGS and -Werror in CFLAGS to allow C...
details: https://anonhg.NetBSD.org/src/rev/f3374471a594
branches: trunk
changeset: 765552:f3374471a594
user: joerg <joerg%NetBSD.org@localhost>
date: Mon May 30 13:56:34 2011 +0000
description:
Reorder CWARNFLAGS and -Werror in CFLAGS to allow CWARNFLAGS and by
extension CWARNFLAGS.${SOURCE} to override it selectively.
diffstat:
share/mk/bsd.sys.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 4ec72eee32ad -r f3374471a594 share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk Mon May 30 13:55:27 2011 +0000
+++ b/share/mk/bsd.sys.mk Mon May 30 13:56:34 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.sys.mk,v 1.202 2011/05/30 13:47:01 joerg Exp $
+# $NetBSD: bsd.sys.mk,v 1.203 2011/05/30 13:56:34 joerg Exp $
#
# Build definitions used for NetBSD source tree builds.
@@ -66,7 +66,7 @@
CPPFLAGS+= ${AUDIT:D-D__AUDIT__}
_NOWERROR= ${defined(NOGCCERROR) || (${ACTIVE_CC} == "clang" && defined(NOCLANGERROR)):?yes:no}
-CFLAGS+= ${CWARNFLAGS} ${${_NOWERROR} == "no" :?-Werror:}
+CFLAGS+= ${${_NOWERROR} == "no" :?-Werror:} ${CWARNFLAGS}
LINTFLAGS+= ${DESTDIR:D-d ${DESTDIR}/usr/include}
.if (${MACHINE_ARCH} == "alpha") || \
Home |
Main Index |
Thread Index |
Old Index