maximilian attems
2006-Jan-31 01:30 UTC
[klibc] [patch] Kbuild.klibc don't hardcode gcc version
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@sternwelten.at> 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
Sam Ravnborg
2006-Feb-01 15:37 UTC
[klibc] Re: [patch] Kbuild.klibc don't hardcode gcc version
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@sternwelten.at>Acked-by: Sam Ravnborg <sam@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 >
Reasonably Related Threads
- [PATCH] klibc: reproducible builds
- [klibc 19/43] klibc basic build infrastructure
- [klibc:master] Kbuild: Work around broken "ar s" in binutils 2.32
- [klibc:master] Kbuild: Add option to install unstripped binaries
- [patch] Kbuild don't hardcode gcc and binutils version