svn commit: r379502 - head/lang/v8-devel

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat Feb 21 11:32:03 UTC 2015


Author: sunpoet
Date: Sat Feb 21 11:32:02 2015
New Revision: 379502
URL: https://svnweb.freebsd.org/changeset/ports/379502
QAT: https://qat.redports.org/buildarchive/r379502/

Log:
  - Use CXXFLAGS instead of CFLAGS
  - Simplify CXXFLAGS: all supported Clang are 3.3+

Modified:
  head/lang/v8-devel/Makefile

Modified: head/lang/v8-devel/Makefile
==============================================================================
--- head/lang/v8-devel/Makefile	Sat Feb 21 11:31:58 2015	(r379501)
+++ head/lang/v8-devel/Makefile	Sat Feb 21 11:32:02 2015	(r379502)
@@ -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


More information about the svn-ports-head mailing list