mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-28 03:42:04 +01:00
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:
parent
be3ab1876e
commit
47fec6f3b5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=350740
@ -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}.
|
||||
|
Loading…
Reference in New Issue
Block a user