From owner-svn-ports-head@FreeBSD.ORG Sat Feb 21 11:32:03 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C2A88922; Sat, 21 Feb 2015 11:32:03 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AE0B39CB; Sat, 21 Feb 2015 11:32:03 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t1LBW369099377; Sat, 21 Feb 2015 11:32:03 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t1LBW3Eh099376; Sat, 21 Feb 2015 11:32:03 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201502211132.t1LBW3Eh099376@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sat, 21 Feb 2015 11:32:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r379502 - head/lang/v8-devel X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Feb 2015 11:32:03 -0000 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 .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