Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk allow file-specific lint flag additions
details: https://anonhg.NetBSD.org/src/rev/ccf435a5adcf
branches: trunk
changeset: 778134:ccf435a5adcf
user: christos <christos%NetBSD.org@localhost>
date: Sat Mar 17 18:02:41 2012 +0000
description:
allow file-specific lint flag additions
diffstat:
share/mk/bsd.sys.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 897f82feadaf -r ccf435a5adcf share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk Sat Mar 17 18:00:50 2012 +0000
+++ b/share/mk/bsd.sys.mk Sat Mar 17 18:02:41 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.sys.mk,v 1.213 2012/03/15 15:04:23 joerg Exp $
+# $NetBSD: bsd.sys.mk,v 1.214 2012/03/17 18:02:41 christos Exp $
#
# Build definitions used for NetBSD source tree builds.
@@ -199,7 +199,7 @@
.c.ln:
${_MKTARGET_COMPILE}
- ${LINT} ${LINTFLAGS} \
+ ${LINT} ${LINTFLAGS} ${LINTFLAGS.${.IMPSRC:T}} \
${CPPFLAGS:C/-([IDU])[ ]*/-\1/Wg:M-[IDU]*} \
${CPPFLAGS.${.IMPSRC:T}:C/-([IDU])[ ]*/-\1/Wg:M-[IDU]*} \
-i ${.IMPSRC}
Home |
Main Index |
Thread Index |
Old Index