svn commit: r374059 - in head/lang: v8 v8-devel

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Fri Dec 5 17:12:43 UTC 2014


Author: sunpoet
Date: Fri Dec  5 17:12:42 2014
New Revision: 374059
URL: https://svnweb.freebsd.org/changeset/ports/374059
QAT: https://qat.redports.org/buildarchive/r374059/

Log:
  - Fix build with clang 3.5.0
  
  PR:		ports/195666
  Submitted by:	dim

Modified:
  head/lang/v8-devel/Makefile
  head/lang/v8/Makefile

Modified: head/lang/v8-devel/Makefile
==============================================================================
--- head/lang/v8-devel/Makefile	Fri Dec  5 17:03:39 2014	(r374058)
+++ head/lang/v8-devel/Makefile	Fri Dec  5 17:12:42 2014	(r374059)
@@ -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

Modified: head/lang/v8/Makefile
==============================================================================
--- head/lang/v8/Makefile	Fri Dec  5 17:03:39 2014	(r374058)
+++ head/lang/v8/Makefile	Fri Dec  5 17:12:42 2014	(r374059)
@@ -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


More information about the svn-ports-head mailing list