aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2014-12-06 01:12:42 +0800
committersunpoet <sunpoet@FreeBSD.org>2014-12-06 01:12:42 +0800
commit4ced8c4e0cd1cc4df54df01b7699b23f46a29ab8 (patch)
treee5c706078efb351ba04b7b3f44a6a9403ba7a54c /lang
parentd0961fa26a0ce39342c2dcbcc0c2993b60271655 (diff)
downloadfreebsd-ports-gnome-4ced8c4e0cd1cc4df54df01b7699b23f46a29ab8.tar.gz
freebsd-ports-gnome-4ced8c4e0cd1cc4df54df01b7699b23f46a29ab8.tar.zst
freebsd-ports-gnome-4ced8c4e0cd1cc4df54df01b7699b23f46a29ab8.zip
- Fix build with clang 3.5.0
PR: ports/195666 Submitted by: dim
Diffstat (limited to 'lang')
-rw-r--r--lang/v8-devel/Makefile5
-rw-r--r--lang/v8/Makefile3
2 files changed, 7 insertions, 1 deletions
diff --git a/lang/v8-devel/Makefile b/lang/v8-devel/Makefile
index c492f22b9400..4e3d6d3288b8 100644
--- a/lang/v8-devel/Makefile
+++ b/lang/v8-devel/Makefile
@@ -38,9 +38,12 @@ MAKE_ARGS+= clang=on
MAKE_ENV+= LINK=clang++ AR=/usr/bin/ar
.if ${COMPILER_VERSION} >= 33
CFLAGS+= -Wno-nested-anon-types -Wno-unused-function
-.endif
.if ${COMPILER_VERSION} >= 34
CFLAGS+= -Wno-unused-const-variable
+.if ${COMPILER_VERSION} >= 35
+CFLAGS+= -Wno-tautological-undefined-compare
+.endif
+.endif
.endif
.else
MAKE_ARGS+= strictaliasing=off
diff --git a/lang/v8/Makefile b/lang/v8/Makefile
index 80d365184c8f..eb378737eb07 100644
--- a/lang/v8/Makefile
+++ b/lang/v8/Makefile
@@ -38,6 +38,9 @@ MAKE_ENV+= LINK=clang++
CFLAGS+= -Wno-nested-anon-types -Wno-unused-function
.if ${COMPILER_VERSION} >= 34
CFLAGS+= -Wno-unused-const-variable
+.if ${COMPILER_VERSION} >= 35
+CFLAGS+= -Wno-tautological-undefined-compare
+.endif
.endif
.endif
.else