]> xenbits.xensource.com Git - people/liuw/stubdom.git/commitdiff
stubdom: add LANG=C for 'gcc -print-search-dirs'
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 28 Aug 2008 08:55:40 +0000 (09:55 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 28 Aug 2008 08:55:40 +0000 (09:55 +0100)
Prevents unwanted localisation of pretty-printing.

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
Makefile

index 817d6f5863092d9b9708bbf4c70dab8f39ecc47a..b94c4422a89e549d1a2b2b138c2449e61751ac95 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -53,7 +53,7 @@ TARGET_CFLAGS += $(call cc-option,$(CC),-fno-stack-protector,)
 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