On Tue, 11 Jan 2005, Linus Torvalds wrote: > Sam Ravnborg: > o kbuild: Use -isystem `gcc --print-file-name=include`
This change broke cross-compilation for me. It causes /usr/lib/gcc-lib/i486-linux/3.3.5/include/stdarg.h to be picked up instead of /usr/local/lib/gcc-lib/m68k-linux/2.95.2/include/stdarg.h. 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. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [EMAIL PROTECTED] In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/