Re: [small BUG] Makefile bug with gcc 3.1 and non english locales

Kai Germaschewski (kai-germaschewski@uiowa.edu)
Fri, 31 May 2002 20:44:59 -0500 (CDT)


On Sat, 1 Jun 2002, Edouard Gomez wrote:

> kbuild_2_4_nostdinc := -nostdinc $(shell $(CC) -print-search-dirs | sed -ne 's/install: \(.*\)/-I \1include/gp')

Russell King suggested the following nice construct, which I'll submit for
2.5 shortly. It should work for you, too.

> CFLAGS += -nostdinc -iwithprefix include
>
> `-iwithprefix DIR'
> Add a directory to the second include path. The directory's name
> is made by concatenating PREFIX and DIR, where PREFIX was
> specified previously with `-iprefix'. If you have not specified a
> prefix yet, the directory containing the installed passes of the
> compiler is used as the default.

--Kai

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