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

Sam Ravnborg
2005-01-16T16:09:47Z

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