[klibc] [patch] Kbuild don't hardcode gcc and binutils version

H. Peter Anvin hpa at zytor.com
Wed Apr 5 14:48:10 PDT 2006


maximilian attems wrote:
> 
> scripts/Kbuild.klibc uses gcc hardcoded an not $(CC).
> belows patch was the starting point of the discussions.
> 
 > --- 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
 >

However, $(CC) is defined as:

CC              = $(CROSS_COMPILE)gcc

... so that doesn't make sense.

	-hpa



More information about the klibc mailing list