On Fri, Jun 4, 2010 at 7:55 PM, Doug Barton <do...@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
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to