From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 21:59:03 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 62DB11065672 for ; Fri, 4 Jun 2010 21:59:03 +0000 (UTC) (envelope-from alexbestms@uni-muenster.de) Received: from SECMAIL.UNI-MUENSTER.DE (SECMAIL.UNI-MUENSTER.DE [128.176.192.141]) by mx1.freebsd.org (Postfix) with ESMTP id 1E75B8FC1D for ; Fri, 4 Jun 2010 21:59:02 +0000 (UTC) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by SECMAIL.UNI-MUENSTER.DE (Postfix) with ESMTP id 150C6BF407; Fri, 4 Jun 2010 23:59:00 +0200 (CEST) Received: by gwaa12 with SMTP id a12so45694gwa.13 for ; Fri, 04 Jun 2010 14:58:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.252.13 with SMTP id z13mr11446626ybh.76.1275688738830; Fri, 04 Jun 2010 14:58:58 -0700 (PDT) Received: by 10.150.178.13 with HTTP; Fri, 4 Jun 2010 14:58:58 -0700 (PDT) In-Reply-To: <4C093E01.7020909@FreeBSD.org> References: <4C093E01.7020909@FreeBSD.org> Date: Fri, 4 Jun 2010 23:58:58 +0200 Message-ID: From: Alexander Best To: Doug Barton Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org Subject: Re: 'buildworld' not always pulling in /etc/src.conf X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 04 Jun 2010 21:59:03 -0000 On Fri, Jun 4, 2010 at 7:55 PM, Doug Barton wrote: > On 06/04/10 10:46, Alexander Best wrote: >> >> src.conf should ALWAYS take priority over make.conf when >> buildworld or buildkernel is being run. > > Defining the same variables in different contexts is always a recipe for = the > dreaded "unpredictable results." Even if it were possible to create the > proper rules to enforce what you're asking for allowing users to rely on = it > would just be encouraging bad habits. i just found out that src.conf should only contain WITHOUT_* and maybe DEBUG_FLAGS =3D -g. what i did was to remove all CC, CXX and CPP definitions from make.conf and defined them in src.conf. this however broke buildworld. :( simply add CC=3Dgcc CXX=3Dg++ CPP=3Dcpp to src.conf and bamm! 'buildworld' should fail somewhere in lib/csu (that's ony amd64). so putting compiler related stuff into src.conf isn't such a great idea. > > > Doug > > -- > > =A0 =A0 =A0 =A0... and that's just a little bit of history repeating. > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0-- Propellerheads > > =A0 =A0 =A0 =A0Improve the effectiveness of your Internet presence with > =A0 =A0 =A0 =A0a domain name makeover! =A0 =A0http://SupersetSolutions.co= m/ > > --=20 Alexander Best