svn commit: r294974 - stable/10/share/mk
Steven Hartland
smh at FreeBSD.org
Thu Jan 28 08:49:22 UTC 2016
Author: smh
Date: Thu Jan 28 08:49:21 2016
New Revision: 294974
URL: https://svnweb.freebsd.org/changeset/base/294974
Log:
MFC r294968:
Allow file specific user-specified flag overrides.
Sponsored by: Multiplay
Modified:
stable/10/share/mk/bsd.sys.mk
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/share/mk/bsd.sys.mk
==============================================================================
--- stable/10/share/mk/bsd.sys.mk Thu Jan 28 03:24:06 2016 (r294973)
+++ stable/10/share/mk/bsd.sys.mk Thu Jan 28 08:49:21 2016 (r294974)
@@ -149,8 +149,9 @@ SSP_CFLAGS?= -fstack-protector
CFLAGS+= ${SSP_CFLAGS}
.endif # SSP && !IA64 && !ARM && !MIPS
-# Allow user-specified additional warning flags
-CFLAGS+= ${CWARNFLAGS}
+# Allow user-specified additional warning flags and file specific flag
+# overrides.
+CFLAGS+= ${CWARNFLAGS} ${CWARNFLAGS.${.IMPSRC:T}}
# Tell bmake not to mistake standard targets for things to be searched for
More information about the svn-src-stable-10
mailing list