From owner-svn-ports-head@freebsd.org Sun Jun 18 01:07:45 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4E2F9C7886C; Sun, 18 Jun 2017 01:07:45 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 300FF7DA66; Sun, 18 Jun 2017 01:07:45 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id 83A3592F9; Sun, 18 Jun 2017 01:07:44 +0000 (UTC) From: Jan Beich To: Gerald Pfeifer Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r443793 - head/lang/gcc7-devel References: <201706172327.v5HNRbGE015821@repo.freebsd.org> Date: Sun, 18 Jun 2017 03:07:40 +0200 In-Reply-To: <201706172327.v5HNRbGE015821@repo.freebsd.org> (Gerald Pfeifer's message of "Sat, 17 Jun 2017 23:27:37 +0000 (UTC)") Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 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: Sun, 18 Jun 2017 01:07:45 -0000 Gerald Pfeifer writes: > Author: gerald > Date: Sat Jun 17 23:27:37 2017 > New Revision: 443793 > URL: https://svnweb.freebsd.org/changeset/ports/443793 > > Log: > Update to the 20170615 snapshot of GCC 7.1.1. > > When we set STAGE1_CXXFLAGS / CXXFLAGS in MAKE_FLAGS for arm platforms, > do so incrementally (with += instead of =). Did you mean to use MAKE_ENV instead of +=? https://www.gnu.org/software/make/manual/html_node/Overriding.html $ cat Makefile CXXFLAGS += -ffoo all: @echo $(CXXFLAGS) $ gmake -ffoo # MAKE_ARGS test $ gmake CXXFLAGS=-fbracket-depth=512 -fbracket-depth=512 $ gmake CXXFLAGS+=-fbracket-depth=512 -fbracket-depth=512 $ gmake CXXFLAGS=-fbar CXXFLAGS=-fbracket-depth=512 -fbracket-depth=512 $ gmake CXXFLAGS=-fbar CXXFLAGS+=-fbracket-depth=512 -fbar -fbracket-depth=512 # MAKE_ENV test $ CXXFLAGS=-fbracket-depth=512 gmake -fbracket-depth=512 -ffoo $ CXXFLAGS+=-fbracket-depth=512 gmake sh: CXXFLAGS+=-fbracket-depth=512: not found $ CXXFLAGS=-fbar CXXFLAGS=-fbracket-depth=512 gmake -fbracket-depth=512 -ffoo $ CXXFLAGS=-fbar CXXFLAGS+=-fbracket-depth=512 gmake sh: CXXFLAGS+=-fbracket-depth=512: not found