From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Thibault Subject: Re: [Patch] RFC: add LANG=C in stubdom's Makefile Date: Thu, 28 Aug 2008 09:54:49 +0100 Message-ID: <20080828085449.GB4523@implementation.uk.xensource.com> References: <48B65E5C.2060200@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <48B65E5C.2060200@jp.fujitsu.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Akio Takebe Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Akio Takebe, le Thu 28 Aug 2008 17:14:20 +0900, a =C3=A9crit : > # echo $LANG > ja_JP.UTF-8 > # gcc -print-search-dirs > =E3=82=A4=E3=83=B3=E3=82=B9=E3=83=88=E3=83=BC=E3=83=AB: /usr/lib/gcc/i3= 86-redhat-linux/4.3.0/ Argl, so that part is localized actually... (it is not translated in the french locale). > diff -r 6c50c7d089d9 stubdom/Makefile > --- a/stubdom/Makefile Wed Aug 27 15:16:13 2008 +0100 > +++ b/stubdom/Makefile Thu Aug 28 17:10:38 2008 +0900 > @@ -53,7 +53,7 @@ > TARGET_CFLAGS +=3D $(call cc-option,$(CC),-fno-stack-protector-all,) >=20 > # Do not use host headers and libs > -GCC_INSTALL =3D $(shell gcc -print-search-dirs | sed -n -e 's/install:= \(.*\)/\1/p') > +GCC_INSTALL =3D $(shell LANG=3DC gcc -print-search-dirs | sed -n -e 's= /install: \(.*\)/\1/p') > TARGET_CPPFLAGS +=3D -U __linux__ -U __FreeBSD__ -U __sun__ > TARGET_CPPFLAGS +=3D -nostdinc > TARGET_CPPFLAGS +=3D -isystem $(CURDIR)/$(MINI_OS)/include/posix Should be fine. Samuel