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

Sam Ravnborg sam at ravnborg.org
Wed Feb 1 15:37:12 PST 2006


On Tue, Jan 31, 2006 at 10:30:13AM +0100, maximilian attems wrote:
> sparc still needs gcc-3.3 for a working run-init.
> belows makes use of the exported CC var.
> 
> Signed-off-by: maximilian attems <maks at sternwelten.at>
Acked-by: Sam Ravnborg <sam at ravnborg.org>

	Sam

> 
> 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
> 



More information about the klibc mailing list