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

Sam Ravnborg sam at ravnborg.org
Wed Feb 1 22:02:25 PST 2006


On Wed, Feb 01, 2006 at 04:12:55PM -0800, H. Peter Anvin wrote:
> >>--- 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
> >>
> >
> 
> This seems wrong to me... either *all* of these should default to CC, 
> LD, etc, or one should explicitly override them all.  A mix is bad.

Right you are.
Maximilian, I assume you will do a new patch test and submit it?

	Sam



More information about the klibc mailing list