COMPILER_TYPE and installworld

NGie Cooper yaneurabeya at gmail.com
Thu Nov 5 07:46:24 UTC 2015


> On Nov 4, 2015, at 23:08, O'Connor, Daniel <darius at dons.net.au> wrote:
> 
> 
>> On 5 Nov 2015, at 16:31, Adrian Chadd <adrian at freebsd.org> wrote:
>> So! In the short term, is there any way that during
>> installworld/installkernel we can also set CC, etc appropriately?
>> Otherwise we're either using the wrong compiler logic/version
>> (installkernel) or we're just plain not going to work (installworld.)
> 
> Why does installworld/kernel care what the compiler type is?
> 
> Or is it just something incidental which gets pulled in that complains because it can't work it out? If so perhaps the easiest way would be to add a flag which turns off compiler detection and set it for install*
> 
> If install* _do_ need to know the compiler type then, bleh..

It shouldn’t care. bsd.compiler.mk just has the intelligence of a stump and Makefile.inc1 doesn’t tell bsd.compiler.mk to do otherwise in the distribution/install phases.

If it were up to me, CC would be false when make install* is run from Makefile.inc1.


More information about the freebsd-mips mailing list