mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-29 12:50:43 +00:00
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:
1 parent
fd5a4dff38
commit
9755181f18
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user