From owner-freebsd-current@FreeBSD.ORG Mon Apr 28 14:23:38 2014 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5E102187; Mon, 28 Apr 2014 14:23:38 +0000 (UTC) Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 304001378; Mon, 28 Apr 2014 14:23:37 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1WemT2-000LbP-HQ; Mon, 28 Apr 2014 14:23:36 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id s3SENYAd015053; Mon, 28 Apr 2014 08:23:34 -0600 (MDT) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 24.8.230.52 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1+tMLd57HLHkWkxJzIXFOC7 Subject: Re: options for forcing use of GCC From: Ian Lepore To: Julian Elischer In-Reply-To: <535E5FA0.9050703@freebsd.org> References: <535D1350.4000106@freebsd.org> <1398616234.61646.155.camel@revolution.hippie.lan> <535DFB11.4020904@freebsd.org> <1398686749.61646.203.camel@revolution.hippie.lan> <535E5FA0.9050703@freebsd.org> Content-Type: text/plain; charset="us-ascii" Date: Mon, 28 Apr 2014 08:23:34 -0600 Message-ID: <1398695014.61646.212.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: FreeBSD Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2014 14:23:38 -0000 On Mon, 2014-04-28 at 22:03 +0800, Julian Elischer wrote: > On 4/28/14, 8:05 PM, Ian Lepore wrote: > > On Mon, 2014-04-28 at 14:54 +0800, Julian Elischer wrote: > >> On 4/28/14, 12:30 AM, Ian Lepore wrote: > >>> WITH_GCC=yes \ > >>> WITH_GNUCXX=yes \ > >>> WITHOUT_CLANG=yes \ > >>> WITHOUT_CLANG_IS_CC=yes \ > >> forgot to ask.. is this in /etc/make.conf? > >> or elsewhere? > > Actually in our build system we build in a chroot, and we inject those > > args into the environment during the builds so that we can have > > different options for building world versus cross-world within the > > chroot, but I think the more-normal place would be make.conf. > > we also use a combination of environment and make.conf in a chroot. > though people sometimes talk about a src.conf (or is that src.mk?) but > I haven't found that one yet. > > > > -- Ian > > > > > > In theory, /etc/make.conf affects all builds you do -- world, kernel, ports, your own apps, everything -- whereas /etc/src.conf affects only kernel and world. I've heard it said that the reality falls short of that and src.conf settings inappropriately leak into ports builds. -- Ian