why does buildkernel set COMPILER_TYPE?

Erik Cederstrand erik at cederstrand.dk
Thu Aug 22 19:12:10 UTC 2013


Den 22/08/2013 kl. 18.23 skrev John-Mark Gurney <jmg at funkthat.com>:

>> I don't think we should support building different parts of the tree
>> with incompatible settings.  E.g. compiling part of the tree using
>> WITH_FOO, and some other part using WITHOUT_FOO is *not* supposed to
>> work properly.
> 
> Do we have a file that is source in /usr/src (or where your source tree
> is located) that we can put these options in?

make buildworld SRCCONF=/foo/bar/custom.conf

But if you doing all sorts of weird build configurations regularly, you might want to just build within a jail that you can wipe afterwards, so you don't pollute the host machine by accident.

Erik



More information about the freebsd-current mailing list