Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Dec 2014 17:12:42 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r374059 - in head/lang: v8 v8-devel
Message-ID:  <201412051712.sB5HCgKa030004@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412051712.sB5HCgKa030004>