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}.
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to