diff options
author | des <des@FreeBSD.org> | 2004-05-10 12:14:18 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2004-05-10 12:14:18 +0000 |
commit | 34071d54d5eda7619656141f5d78aac7d3852f22 (patch) | |
tree | 5668bca4b615e4ca5fcc2fbfbf645648719248d0 /share/mk | |
parent | a17ab98005b919aab980ea17c9c2cb02e1bb6240 (diff) | |
download | FreeBSD-src-34071d54d5eda7619656141f5d78aac7d3852f22.zip FreeBSD-src-34071d54d5eda7619656141f5d78aac7d3852f22.tar.gz |
-W{missing,strict}-prototypes do not make sense for C++, and gcc34 will
complain about them, so remove them from CXXFLAGS.
Diffstat (limited to 'share/mk')
-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 0d37bdc..68d6284 100644 --- a/share/mk/sys.mk +++ b/share/mk/sys.mk @@ -41,7 +41,7 @@ CFLAGS ?= -O -pipe .endif CXX ?= c++ -CXXFLAGS ?= ${CFLAGS:N-std=*:N-Wnested-externs} +CXXFLAGS ?= ${CFLAGS:N-std=*:N-Wnested-externs:N-W*-prototypes} CPP ?= cpp |