From: Benoit Plessis <benoit.plessis@maverick.eu.org>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] language fix for the main Makefile
Date: 19 Oct 2002 20:09:45 +0200 [thread overview]
Message-ID: <87elamuwpi.fsf@maverick.eu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 199 bytes --]
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:
[-- Attachment #2: kernel_lang_fix.diff --]
[-- Type: text/plain, Size: 600 bytes --]
--- linux-2.4.19.old/Makefile 2002-10-19 13:17:53.000000000 +0200
+++ linux-2.4.19/Makefile 2002-10-19 19:58:50.000000000 +0200
@@ -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
[-- Attachment #3: Type: text/plain, Size: 208 bytes --]
ps: for any comment/question please Cc: to me personnaly.
--
Benoit (Maverick) Plessis <benoit.plessis@maverick.eu.org> +33 6 77 42 78 32
1024D/B4D74B76 B9A7 3697 661D 25FB A609 E69E 92CA FFAB B4D7 4B76
reply other threads:[~2002-10-19 18:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87elamuwpi.fsf@maverick.eu.org \
--to=benoit.plessis@maverick.eu.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®