WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [Patch] RFC: add LANG=C in stubdom's Makefile

To: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [Patch] RFC: add LANG=C in stubdom's Makefile
From: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
Date: Thu, 28 Aug 2008 09:54:49 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 28 Aug 2008 01:55:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <48B65E5C.2060200@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Mail-followup-to: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>, Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
References: <48B65E5C.2060200@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.12-2006-07-14
Akio Takebe, le Thu 28 Aug 2008 17:14:20 +0900, a écrit :
> # echo $LANG
> ja_JP.UTF-8
> #  gcc -print-search-dirs
> インストール: /usr/lib/gcc/i386-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 += $(call cc-option,$(CC),-fno-stack-protector-all,)
> 
>  # Do not use host headers and libs
> -GCC_INSTALL = $(shell gcc -print-search-dirs | sed -n -e 's/install: 
> \(.*\)/\1/p')
> +GCC_INSTALL = $(shell LANG=C gcc -print-search-dirs | sed -n -e 's/install: 
> \(.*\)/\1/p')
>  TARGET_CPPFLAGS += -U __linux__ -U __FreeBSD__ -U __sun__
>  TARGET_CPPFLAGS += -nostdinc
>  TARGET_CPPFLAGS += -isystem $(CURDIR)/$(MINI_OS)/include/posix

Should be fine.

Samuel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>