From owner-freebsd-toolchain@FreeBSD.ORG Tue Feb 28 22:11:49 2012 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 6CDD51065673; Tue, 28 Feb 2012 22:11:49 +0000 (UTC) Date: Tue, 28 Feb 2012 22:11:49 +0000 From: Alexander Best To: Dimitry Andric Message-ID: <20120228221149.GA95661@freebsd.org> References: <20120226213703.GA33988@freebsd.org> <4F4D34C8.9080507@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4F4D34C8.9080507@FreeBSD.org> Cc: freebsd-toolchain@freebsd.org, freebsd-current@freebsd.org Subject: Re: setting CC/CXX/CPP unconditionally in src.conf X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Feb 2012 22:11:49 -0000 On Tue Feb 28 12, Dimitry Andric wrote: > On 2012-02-26 22:37, Alexander Best wrote: > > any chance support for setting CC/CXX/CPP unconditionally in src.conf could be > > added before the release of freebsd 10.0? the way it is done atm is really not > > intuitive. the rule should really be: > > > > - make.conf = applies globally > > - src.conf = applies only to /usr/src > > ( maybe a ports.conf or port.conf could be introduced at some point, too) > > > > ... the current situation, where only certain variables can be set in src.conf > > is not ideal. > > I just committed r232263 to head, which should allow setting CC/CXX/CPP > in src.conf. Please try it out. any chance we can have a CFLAGS.gcc and CFLAGS.clang in the future? that would make certain things a lot easier. dealing with gcc specific options, such as -mpreferred-stack-boundary=2 would simply work by setting CFLAGS.gcc=-mpreferred-stack-boundary=2 e.g. cheers. alex