Skip to contentSkip to conversation

language fix for the main Makefile

PATCH New Benoit Plessis 1 participant 1 message Oct 19, 2002 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 language fix for the main Makefile

Since i am a french user, and that i sometime work in a french environement i once had this problem of the Makefile unable to correctly set the kbuild_2_4_nostdinc var. So i made the following fix:

Makefile +1 -1
@@ -258,7 +258,7 @@
 # 'kbuild_2_4_nostdinc :=' or -I/usr/include for kernel code and you are not UML
 # then your code is broken!  KAO.
 
-kbuild_2_4_nostdinc	:= -nostdinc $(shell $(CC) -print-search-dirs | sed -ne 's/install: \(.*\)/-I \1include/gp')
+kbuild_2_4_nostdinc	:= -nostdinc $(shell LANG=C LC_ALL=C $(CC) -print-search-dirs | sed -ne 's/install: \(.*\)/-I \1include/gp')
 export kbuild_2_4_nostdinc
 
 export	CPPFLAGS CFLAGS CFLAGS_KERNEL AFLAGS AFLAGS_KERNEL

ps: for any comment/question please Cc: to me personnaly.

Signature · 2 lines
Benoit (Maverick) Plessis <[email protected]>  +33 6 77 42 78 32
1024D/B4D74B76 B9A7 3697 661D 25FB A609  E69E 92CA FFAB B4D7 4B76