mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-02 12:20:51 +00:00
Fix build with GCC 8.1.
GCC 8.1 failed to build LLVM's libc++ when -Wshadow is set, so lower down WARNS flag to 3. This is similar to dtc(1) which uses libc++ and sets WARNS to 3. Approved by: re (gjb) Sponsored by: DARPA, AFRL
This commit is contained in:
parent
0cadc427fd
commit
e8e87febec
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=339064
@ -5,6 +5,7 @@
|
||||
.include <src.opts.mk>
|
||||
PROG_CXX= pmc
|
||||
MAN=
|
||||
WARNS?= 3
|
||||
CXXFLAGS+= -O0 -std=c++14
|
||||
CWARNFLAGS.gcc+= -Wno-redundant-decls
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user