Re: Cross-compilation broken (was: Re: Linux 2.6.11-rc1)

From: Sam Ravnborg
Date: Sun Jan 16 2005 - 11:11:44 EST


On Sun, Jan 16, 2005 at 10:22:43AM +0100, Geert Uytterhoeven wrote:
> Changing
>
> | NOSTDINC_FLAGS := -nostdinc -isystem $(shell $(CC) -print-file-name=include)
>
> to
>
> | NOSTDINC_FLAGS = -nostdinc -isystem $(shell $(CC) -print-file-name=include)
>
> fixed it. I guess it picked up the definition for $(CC) before it became
> $(CROSS_COMPILE)gcc.

Main culprint here is m68k fiddelign with definition of CROSS_COMPILE in
arch/m68k/Makefile.
If I find no better fix I will take your version.

Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/