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

maximilian attems maks at sternwelten.at
Tue Jan 31 01:30:13 PST 2006


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>

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