diff options
author | marcel <marcel@FreeBSD.org> | 2010-02-18 01:44:48 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2010-02-18 01:44:48 +0000 |
commit | d88b1823872ad7192aa9934831d3246c96938d6c (patch) | |
tree | eacf2c00e547108818c48919cf628f0ea22ed933 /share | |
parent | 4b84a184059740ee0cb898b4fdc7f26693ee6431 (diff) | |
download | FreeBSD-src-d88b1823872ad7192aa9934831d3246c96938d6c.zip FreeBSD-src-d88b1823872ad7192aa9934831d3246c96938d6c.tar.gz |
Unbreak WARNS=6 builds for C++ code: -Wold-style-definition is not accepted
by the C++ compiler. Filter it out.
Diffstat (limited to 'share')
-rw-r--r-- | share/mk/sys.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/sys.mk b/share/mk/sys.mk index e0527e4..51ec039 100644 --- a/share/mk/sys.mk +++ b/share/mk/sys.mk @@ -66,7 +66,7 @@ CFLAGS += -g .endif 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} CPP ?= cpp |