From: Sam Ravnborg <sam@ravnborg.org>
To: Keith Owens <kaos@ocs.com.au>
Cc: linux-kernel@vger.kernel.org
Subject: Re: How to do -nostdinc?
Date: Mon, 16 Dec 2002 19:29:19 +0100 [thread overview]
Message-ID: <20021216182919.GA1607@mars.ravnborg.org> (raw)
In-Reply-To: <1357.1039954001@ocs3.intra.ocs.com.au>
On Sun, Dec 15, 2002 at 11:06:41PM +1100, Keith Owens wrote:
> There are two ways of setting the -nostdinc flag in the kernel Makefile :-
>
> (1) -nostdinc $(shell $(CC) -print-search-dirs | sed -ne 's/install: \(.*\)/-I \1include/gp')
> (2) -nostdinc -iwithprefix include
>
> The first format breaks with non-English locales, however the fix is trivial.
>
> (1a) -nostdinc $(shell LANG=C $(CC) -print-search-dirs | sed -ne 's/install: \(.*\)/-I \1include/gp')
>
Hi Keith.
Based on the comments received, solution (2) seems to be OK.
Do you agree?
Sam
next prev parent reply other threads:[~2002-12-16 18:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-15 12:06 Keith Owens
2002-12-15 13:47 ` Marius Gedminas
2002-12-15 15:11 ` Russell King
2002-12-16 0:17 ` Steffen Persvold
2002-12-16 18:29 ` Sam Ravnborg [this message]
2002-12-16 21:26 ` Keith Owens
2002-12-16 22:44 ` J.A. Magallon
2002-12-16 23:16 ` H. Peter Anvin
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=20021216182919.GA1607@mars.ravnborg.org \
--to=sam@ravnborg.org \
--cc=kaos@ocs.com.au \
--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
Powered by JetHome