Re: 'buildworld' not always pulling in /etc/src.conf

From: Alexander Best <alexbestms_at_uni-muenster.de>
Date: Fri, 4 Jun 2010 23:58:58 +0200
On Fri, Jun 4, 2010 at 7:55 PM, Doug Barton <dougb_at_freebsd.org> 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 = -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=gcc
CXX=g++
CPP=cpp

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
>
> --
>
>        ... and that's just a little bit of history repeating.
>                        -- Propellerheads
>
>        Improve the effectiveness of your Internet presence with
>        a domain name makeover!    http://SupersetSolutions.com/
>
>



-- 
Alexander Best
Received on Fri Jun 04 2010 - 19:59:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:04 UTC