Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Aug 2019 04:29:46 +0000 (UTC)
From:      Conrad Meyer <cem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r350740 - head/share/mk
Message-ID:  <201908080429.x784Tk2O011459@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908080429.x784Tk2O011459>