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

Alexander Best alexbestms at uni-muenster.de
Fri Jun 4 21:59:03 UTC 2010


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


More information about the freebsd-current mailing list