From owner-freebsd-toolchain@FreeBSD.ORG Sun Feb 26 21:37:03 2012 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 5E48F1065670; Sun, 26 Feb 2012 21:37:03 +0000 (UTC) Date: Sun, 26 Feb 2012 21:37:03 +0000 From: Alexander Best To: freebsd-toolchain@freebsd.org Message-ID: <20120226213703.GA33988@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: 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: Sun, 26 Feb 2012 21:37:03 -0000 hi there, 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. cheers. alex From owner-freebsd-toolchain@FreeBSD.ORG Sun Feb 26 22:43:45 2012 Return-Path: Delivered-To: freebsd-toolchain@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA623106566B; Sun, 26 Feb 2012 22:43:45 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 6035C8FC0A; Sun, 26 Feb 2012 22:43:45 +0000 (UTC) Received: from [10.0.0.63] (63.imp.bsdimp.com [10.0.0.63]) (authenticated bits=0) by harmony.bsdimp.com (8.14.4/8.14.3) with ESMTP id q1QMc0sY089064 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Sun, 26 Feb 2012 15:38:03 -0700 (MST) (envelope-from imp@bsdimp.com) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <20120226213703.GA33988@freebsd.org> Date: Sun, 26 Feb 2012 15:38:00 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20120226213703.GA33988@freebsd.org> To: Alexander Best X-Mailer: Apple Mail (2.1084) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (harmony.bsdimp.com [10.0.0.6]); Sun, 26 Feb 2012 15:38:03 -0700 (MST) Cc: freebsd-toolchain@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: Sun, 26 Feb 2012 22:43:45 -0000 On Feb 26, 2012, at 2:37 PM, Alexander Best wrote: > hi there, >=20 > 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: >=20 > - make.conf =3D applies globally > - src.conf =3D 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. What doesn't work? Or rather, how does it work now? Warner From owner-freebsd-toolchain@FreeBSD.ORG Sun Feb 26 22:52:49 2012 Return-Path: Delivered-To: freebsd-toolchain@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1198C1065670; Sun, 26 Feb 2012 22:52:49 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id C133B8FC08; Sun, 26 Feb 2012 22:52:48 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:1527:bb3e:9ca7:59c2] (unknown [IPv6:2001:7b8:3a7:0:1527:bb3e:9ca7:59c2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 0EED55C37; Sun, 26 Feb 2012 23:52:46 +0100 (CET) Message-ID: <4F4AB7BA.4040302@FreeBSD.org> Date: Sun, 26 Feb 2012 23:52:42 +0100 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120216 Thunderbird/11.0 MIME-Version: 1.0 To: Warner Losh References: <20120226213703.GA33988@freebsd.org> In-Reply-To: X-Enigmail-Version: 1.4a1pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Alexander Best , freebsd-toolchain@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: Sun, 26 Feb 2012 22:52:49 -0000 On 2012-02-26 23:38, Warner Losh wrote: > On Feb 26, 2012, at 2:37 PM, 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. > > What doesn't work? Or rather, how does it work now? Setting CC/CXX/CPP and such in src.conf doesn't work, at least not for all Makefiles in world. There are still many of them that don't do the right thing, picking up CC values from sys.mk and/or make.conf instead. The trickiest one is Makefile.inc1, which does some special magic, and isn't really a normal BSD Makefile anyway. :) I've got a git branch with some experiments to have all the compiler settings read from src.conf instead of make.conf, but I didn't finish it before some other work took precedence... From owner-freebsd-toolchain@FreeBSD.ORG Sun Feb 26 23:26:58 2012 Return-Path: Delivered-To: freebsd-toolchain@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78498106564A; Sun, 26 Feb 2012 23:26:58 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 28EAF8FC12; Sun, 26 Feb 2012 23:26:57 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1S1nEF-0001Do-T3>; Mon, 27 Feb 2012 00:10:07 +0100 Received: from e178041042.adsl.alicedsl.de ([85.178.41.42] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1S1nEF-0008QQ-O6>; Mon, 27 Feb 2012 00:10:07 +0100 Message-ID: <4F4ABBC9.6030104@zedat.fu-berlin.de> Date: Mon, 27 Feb 2012 00:10:01 +0100 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.2) Gecko/20120223 Thunderbird/10.0.2 MIME-Version: 1.0 To: Warner Losh References: <20120226213703.GA33988@freebsd.org> In-Reply-To: X-Enigmail-Version: 1.3.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig95B164B31D63C87111572961" X-Originating-IP: 85.178.41.42 Cc: Alexander Best , freebsd-toolchain@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: Sun, 26 Feb 2012 23:26:58 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig95B164B31D63C87111572961 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 02/26/12 23:38, Warner Losh wrote: >=20 > On Feb 26, 2012, at 2:37 PM, Alexander Best wrote: >=20 >> hi there, >> >> 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 re= ally not >> intuitive. the rule should really be: >> >> - make.conf =3D applies globally >> - src.conf =3D applies only to /usr/src >> ( maybe a ports.conf or port.conf could be introduced at some point, t= oo) >> ... the current situation, where only certain variables can be set in = src.conf >> is not ideal. >=20 > What doesn't work? Or rather, how does it work now? >=20 > Warner >=20 At the moment, as far as I realized myself and read herin the mailing list, setting CC CXX CPP in /etc/src.conf for only kernel builds doesn't work. I tried. I tried hard! One must set these variables in /etc/make.conf. The manpage for src.conf(5) is not clear. I would expect that even compiler settings need to go into src.conf - that is the way I handled it the first time and failed. /etc/make.conf contains a mix of systemwide variables also involving the /usr/src tree AND the ports tree. Since FreeBSD make a big deal being different in keeping the core system and its ports, I'd expect a also clear cut: everything that involves the coresystem (/usr/src) is about to go into /etc/src.conf, everything that has to do with conditions for ports should go elsewere (/usr/local/etc/ports.conf would be nice). At this moment I personally keep conditions for the CLANG environment in /etc/make.conf - partially conditional and unconditional. For each port I stumble into which is incapable being compiled with CLANG or need special features like OpenMP which is CLANg incapable of, do have their conditional lines like =2Eif ${.CURDIR:M/usr/ports/graphics/ImageMagick*} #USE_GCC=3D 4.6+ CC=3D cc CXX=3D c++ CPP=3D cpp =2Eendif This mixing in /etc/make.conf is messy and confusing. Even if /etc/src.conf is only for booleans as "WITH_XXXX=3DYES" or "WITHOUT_XXXX=3DYES", there should be a strict separation between the source system and anything related to ports, even in case of costs of having a kind of redundancy. /etc/make.conf should define the base, even for /usr/src, etc/src.conf should set conditions for /usr/src and another config, like the proposed /etc/ports.conf or better /usr/local/etc/ports.conf should inherit make.conf and override those variables if demanded by the user. This is some kind of "wish" I'd like to see and that would make the OS compiler configuration more logical. Oliver --------------enig95B164B31D63C87111572961 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iQEcBAEBAgAGBQJPSrvPAAoJEOgBcD7A/5N8UgIH/3lSA0GLfTlw1mOrgOkeQ6I8 /rIL5Ut4HIIz49JJvX5b52cgZ1bCG6A0GyP4/v4lti53Oty8d0ykMVvzSr350VZS z0/tjwaylpsKe9eYddiyat/W3R3huxO5fiA07RleKdOg3eZnJOajO8LW9ACAoQfk FJR7FwwTW0Fb57j+3Ua1Z8BV4/6HvZR4qMldJdWQY3GXvZGlwhVGAVnSJqWKiWr0 428QgQ97lMlINyrIET5mCNjijaRdt36l1QA3gYeOqVclLboBx3A1+DtCbRHtOVh/ M9ZeiY6dFrIBDJzm4w6nhLBcaN/kbcH595ra4zJ1mE16DNgf2NNGNFr5fXHBtoQ= =RTVM -----END PGP SIGNATURE----- --------------enig95B164B31D63C87111572961-- From owner-freebsd-toolchain@FreeBSD.ORG Tue Feb 28 20:10:51 2012 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E5791065673; Tue, 28 Feb 2012 20:10:51 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id 2EDC48FC14; Tue, 28 Feb 2012 20:10:51 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:40c7:bfc6:1449:f9dd] (unknown [IPv6:2001:7b8:3a7:0:40c7:bfc6:1449:f9dd]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 6E72B5C37; Tue, 28 Feb 2012 21:10:49 +0100 (CET) Message-ID: <4F4D34C8.9080507@FreeBSD.org> Date: Tue, 28 Feb 2012 21:10:48 +0100 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120216 Thunderbird/11.0 MIME-Version: 1.0 To: Alexander Best References: <20120226213703.GA33988@freebsd.org> In-Reply-To: <20120226213703.GA33988@freebsd.org> X-Enigmail-Version: 1.4a1pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 20:10:51 -0000 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. From owner-freebsd-toolchain@FreeBSD.ORG Tue Feb 28 21:34:17 2012 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 6DCBE106566B; Tue, 28 Feb 2012 21:34:17 +0000 (UTC) Date: Tue, 28 Feb 2012 21:34:17 +0000 From: Alexander Best To: Dimitry Andric Message-ID: <20120228213417.GA86570@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 21:34:17 -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. it seems the latest libarchive import broke world with clang and without NO_WERROR=. i'm now trying with NO_WERROR= set. cheers. alex 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 From owner-freebsd-toolchain@FreeBSD.ORG Tue Feb 28 23:11:41 2012 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6DC461065676; Tue, 28 Feb 2012 23:11:41 +0000 (UTC) (envelope-from ade@FreeBSD.org) Received: from panix.lovett.com (panix.lovett.com [166.84.7.128]) by mx1.freebsd.org (Postfix) with ESMTP id 481A88FC16; Tue, 28 Feb 2012 23:11:41 +0000 (UTC) Received: from nat-dip4.cfw-a-gci.corp.yahoo.com ([209.131.62.113] helo=[10.72.180.251]) by panix.lovett.com with esmtpa (Exim 4.77 (FreeBSD)) (envelope-from ) id 1S2VxE-0002Sk-Mb; Tue, 28 Feb 2012 22:55:32 +0000 Message-ID: <4F4D5B63.6020306@FreeBSD.org> Date: Tue, 28 Feb 2012 14:55:31 -0800 From: Ade Lovett User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: freebsd-toolchain@freebsd.org References: <20120226213703.GA33988@freebsd.org> <4F4D34C8.9080507@FreeBSD.org> <20120228221149.GA95661@freebsd.org> In-Reply-To: <20120228221149.GA95661@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: 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 23:11:41 -0000 On 2/28/2012 14:11, Alexander Best wrote: > 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. You already can: CFLAGS.cc= cc_cflags_here CFLAGS.clang= clang_cflags_here CFLAGS+= generic_cflags_here CFLAGS+= ${CFLAGS.${CC}} -aDe From owner-freebsd-toolchain@FreeBSD.ORG Tue Feb 28 23:39:52 2012 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 524D81065673; Tue, 28 Feb 2012 23:39:52 +0000 (UTC) Date: Tue, 28 Feb 2012 23:39:52 +0000 From: Alexander Best To: Dimitry Andric Message-ID: <20120228233952.GA17026@freebsd.org> References: <20120226213703.GA33988@freebsd.org> <4F4D34C8.9080507@FreeBSD.org> <20120228213417.GA86570@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120228213417.GA86570@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 23:39:52 -0000 On Tue Feb 28 12, Alexander Best wrote: > 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. > > it seems the latest libarchive import broke world with clang and without > NO_WERROR=. i'm now trying with NO_WERROR= set. with NO_WERROR= set buildworld succeeded. cheers. alex > > cheers. > alex