[klibc] Re: [patch] Kbuild.klibc don't hardcode gcc version

H. Peter Anvin hpa at zytor.com
Wed Feb 1 16:12:55 PST 2006


Sam Ravnborg wrote:
> 
> 
>>diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc
>>index 66e16e7..70e4071 100644
>>--- a/scripts/Kbuild.klibc
>>+++ b/scripts/Kbuild.klibc
>>@@ -72,7 +72,7 @@ KLIBCROSS        := $(CROSS_COMPILE)
>> 
>> # binutils
>> KLIBCLD          := $(KLIBCROSS)ld
>>-KLIBCCC          := $(KLIBCROSS)gcc
>>+KLIBCCC          := $(KLIBCROSS)$(CC)
>> KLIBCAR          := $(KLIBCROSS)ar
>> KLIBCRANLIB      := $(KLIBCROSS)ranlib
>> KLIBCSTRIP       := $(KLIBCROSS)strip
>>
> 

This seems wrong to me... either *all* of these should default to CC, 
LD, etc, or one should explicitly override them all.  A mix is bad.

	-hpa



More information about the klibc mailing list