r350739 try #2

For some inexplicable reason, C++ compilers reject the -Wno- flag, and also
(ab)use CWARNFLAGS.

Reported by:	imp
This commit is contained in:
Conrad Meyer 2019-08-08 04:29:46 +00:00
parent be3ab1876e
commit 47fec6f3b5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=350740

View File

@ -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}.