svn commit: r350740 - head/share/mk
Conrad Meyer
cem at FreeBSD.org
Thu Aug 8 04:29:46 UTC 2019
Author: cem
Date: Thu Aug 8 04:29:46 2019
New Revision: 350740
URL: https://svnweb.freebsd.org/changeset/base/350740
Log:
r350739 try #2
For some inexplicable reason, C++ compilers reject the -Wno- flag, and also
(ab)use CWARNFLAGS.
Reported by: imp
Modified:
head/share/mk/bsd.sys.mk
Modified: head/share/mk/bsd.sys.mk
==============================================================================
--- head/share/mk/bsd.sys.mk Thu Aug 8 03:27:46 2019 (r350739)
+++ head/share/mk/bsd.sys.mk Thu Aug 8 04:29:46 2019 (r350740)
@@ -187,7 +187,7 @@ CWARNFLAGS+= -Wno-unknown-pragmas
.endif # IGNORE_PRAGMA
# This warning is utter nonsense
-CWARNFLAGS+= -Wno-format-zero-length
+CFLAGS+= -Wno-format-zero-length
# We need this conditional because many places that use it
# only enable it for some files with CLFAGS.$FILE+=${CLANG_NO_IAS}.
More information about the svn-src-head
mailing list