mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 19:08:58 +00:00
Unbreak WARNS=6 builds for C++ code: -Wold-style-definition is not accepted
by the C++ compiler. Filter it out.
This commit is contained in:
parent
5aa4bb5b49
commit
96f2d85e89
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=204024
@ -66,7 +66,7 @@ CFLAGS += -g
|
|||||||
.endif
|
.endif
|
||||||
|
|
||||||
CXX ?= c++
|
CXX ?= c++
|
||||||
CXXFLAGS ?= ${CFLAGS:N-std=*:N-Wnested-externs:N-W*-prototypes:N-Wno-pointer-sign}
|
CXXFLAGS ?= ${CFLAGS:N-std=*:N-Wnested-externs:N-W*-prototypes:N-Wno-pointer-sign:N-Wold-style-definition}
|
||||||
PO_CXXFLAGS ?= ${CXXFLAGS}
|
PO_CXXFLAGS ?= ${CXXFLAGS}
|
||||||
|
|
||||||
CPP ?= cpp
|
CPP ?= cpp
|
||||||
|
Loading…
Reference in New Issue
Block a user