[klibc] [patch] Kbuild don't hardcode gcc and binutils version
maximilian attems
maks at sternwelten.at
Wed Apr 5 14:35:16 PDT 2006
On Wed, 05 Apr 2006, H. Peter Anvin wrote:
> Sam Ravnborg wrote:
> >On Wed, Apr 05, 2006 at 10:45:51PM +0200, maximilian attems wrote:
> >[Received a forward of this mail and I had deleted the original one.
> >So your reply-chain is broken].
> >>sparc still needed to build with gcc-3.3
> >>belows makes use of the exported CC variable.
> >>
> >>also export the binutils for consistency,
> >>added the missing ones too for klcc.
> >>
>
> Given that KLIBCCC, KLIBCLD et al already exit (in scripts/Kbuild.klibc)
> there seems to be very little point in this.
>
> -hpa
scripts/Kbuild.klibc uses gcc hardcoded an not $(CC).
belows patch was the starting point of the discussions.
--
maks
--- 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