]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a CXXWARNFLAGS variable
authorasomers <asomers@FreeBSD.org>
Tue, 30 Jul 2019 19:34:39 +0000 (19:34 +0000)
committerasomers <asomers@FreeBSD.org>
Tue, 30 Jul 2019 19:34:39 +0000 (19:34 +0000)
commitc71b8899d377a05ef7fc44b550039c027220c99a
tree2f2fe81e811f308698e23b744a27f8d9c6c7eb63
parent0c969d5f368b82971209557edd5ecef6864bae84
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
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D21116
share/mk/bsd.sys.mk