From owner-svn-ports-all@FreeBSD.ORG Fri May 10 23:15:18 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A5CA69FA; Fri, 10 May 2013 23:15:18 +0000 (UTC) (envelope-from mi@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 974B6D66; Fri, 10 May 2013 23:15:18 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4ANFIdD098236; Fri, 10 May 2013 23:15:18 GMT (envelope-from mi@svn.freebsd.org) Received: (from mi@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4ANFI3H098235; Fri, 10 May 2013 23:15:18 GMT (envelope-from mi@svn.freebsd.org) Message-Id: <201305102315.r4ANFI3H098235@svn.freebsd.org> From: Mikhail Teterin Date: Fri, 10 May 2013 23:15:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r317845 - head/devel/boost-all X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 May 2013 23:15:18 -0000 Author: mi Date: Fri May 10 23:15:18 2013 New Revision: 317845 URL: http://svnweb.freebsd.org/changeset/ports/317845 Log: Respect the locally set CXXFLAGS (and CFLAGS) -- except for optimization level (-O*), which Boost sets to -O3 automatically. Approved by: maintainer (bapt) Modified: head/devel/boost-all/compiled.mk Modified: head/devel/boost-all/compiled.mk ============================================================================== --- head/devel/boost-all/compiled.mk Fri May 10 22:32:22 2013 (r317844) +++ head/devel/boost-all/compiled.mk Fri May 10 23:15:18 2013 (r317845) @@ -16,6 +16,11 @@ BJAM_ARGS= --layout=system \ BJAM_ARGS+= cxxflags=-fPIC .endif +# Our compiler-flags will be added AFTER those set by bjam. We remove +# the optimization level, because Boost sets it itself (to -O3 in case +# of gcc/g++): +BJAM_ARGS+= cxxflags="${CXXFLAGS:N-O*}" cflags="${CFLAGS:N-O*}" + NO_CCACHE= yes .if ${CC:T:Mgcc*} BOOST_TOOLSET:= gcc