Skip to content

Commit 4c8a9e2

Browse files
committed
r350739 try #2
For some inexplicable reason, C++ compilers reject the -Wno- flag, and also (ab)use CWARNFLAGS. Reported by: imp
1 parent 6d94269 commit 4c8a9e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

share/mk/bsd.sys.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ CWARNFLAGS+= -Wno-unknown-pragmas
187187
.endif # IGNORE_PRAGMA
188188

189189
# This warning is utter nonsense
190-
CWARNFLAGS+= -Wno-format-zero-length
190+
CFLAGS+= -Wno-format-zero-length
191191

192192
# We need this conditional because many places that use it
193193
# only enable it for some files with CLFAGS.$FILE+=${CLANG_NO_IAS}.

0 commit comments

Comments
 (0)