diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2015-02-21 19:32:02 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2015-02-21 19:32:02 +0800 |
commit | 9f6886abacbaa4aa17dba624002f458c7b2d05c2 (patch) | |
tree | 750873a7ab0c6d556e237eaedc7aa2c71163c774 /lang/v8-devel | |
parent | 74344b3d10196e8ff60ee7da5b6055703b6a906e (diff) | |
download | freebsd-ports-gnome-9f6886abacbaa4aa17dba624002f458c7b2d05c2.tar.gz freebsd-ports-gnome-9f6886abacbaa4aa17dba624002f458c7b2d05c2.tar.zst freebsd-ports-gnome-9f6886abacbaa4aa17dba624002f458c7b2d05c2.zip |
- Use CXXFLAGS instead of CFLAGS
- Simplify CXXFLAGS: all supported Clang are 3.3+
Diffstat (limited to 'lang/v8-devel')
-rw-r--r-- | lang/v8-devel/Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lang/v8-devel/Makefile b/lang/v8-devel/Makefile index 4e3d6d3288b8..9590d91df436 100644 --- a/lang/v8-devel/Makefile +++ b/lang/v8-devel/Makefile @@ -33,16 +33,13 @@ bash_CMD= ${SH} .include <bsd.port.pre.mk> .if ${COMPILER_TYPE} == clang -CFLAGS+= -Wno-unused-private-field -Wno-unused-variable +CXXFLAGS+= -Wno-nested-anon-types -Wno-unused-function -Wno-unused-private-field -Wno-unused-variable MAKE_ARGS+= clang=on MAKE_ENV+= LINK=clang++ AR=/usr/bin/ar -.if ${COMPILER_VERSION} >= 33 -CFLAGS+= -Wno-nested-anon-types -Wno-unused-function .if ${COMPILER_VERSION} >= 34 -CFLAGS+= -Wno-unused-const-variable +CXXFLAGS+= -Wno-unused-const-variable .if ${COMPILER_VERSION} >= 35 -CFLAGS+= -Wno-tautological-undefined-compare -.endif +CXXFLAGS+= -Wno-tautological-undefined-compare .endif .endif .else |