HomeFreeBSD

Add a CXXWARNFLAGS variable

Description

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

Details

Provenance
asomersAuthored on Jul 30 2019, 7:34 PM
Parents
rG305b9efefc26: linuxulator: rename linux_locore.s to .asm
Branches
Unknown
Tags
Unknown

Event Timeline