Armored gcc -print-search-dirs against locales.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1827 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2003-07-02 07:27:39 +00:00
1 parent fd5a4dff38
commit 9755181f18
1 file changed
+1 -1
+1 -1
View File
@@ -223,7 +223,7 @@ endif
# This magic is from the kernel Makefile.
# Extra cflags for kbuild 2.4. The default is to forbid includes by kernel code
# from user space headers.
kbuild_2_4_nostdinc := -nostdinc $(shell $(CC) -print-search-dirs | sed -ne 's/install: \(.*\)/-I \1include/gp')
kbuild_2_4_nostdinc := -nostdinc $(shell LC_ALL=C $(CC) -print-search-dirs | sed -ne 's/install: \(.*\)/-I \1include/gp')
MODCPPFLAGS += -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer $(ALL_CPPFLAGS) $(kbuild_2_4_nostdinc)
MODCFLAGS += $(ALL_CFLAGS)