aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
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