]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r350453:
authorAlan Somers <asomers@FreeBSD.org>
Fri, 6 Sep 2019 19:36:41 +0000 (19:36 +0000)
committerAlan Somers <asomers@FreeBSD.org>
Fri, 6 Sep 2019 19:36:41 +0000 (19:36 +0000)
commitb6b34e6b472f9cff7ed7210f9f7bd67923995e8f
tree0ca05a1f31374991c3efeeebb916650d3c03443c
parentd73e91ae0a60e2a255cc02336611fb77dba005f6
MFC r350453:

Add a CXXWARNFLAGS variable

Some warning flags are valid for C++ but not C. GCC 8 complains if you pass
such flags when building a C file. Using a separate variable for these
flags allows building both C and C++ files in the same directory (such as
the fusefs tests) under GCC.

Reviewed by: cem, emaste
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D21116
share/mk/bsd.sys.mk