[LinuxBIOS] r3037 - trunk/LinuxBIOSv2/src/config
svn at openbios.org
svn at openbios.org
Tue Jan 8 11:28:06 CET 2008
Author: oxygene
Date: 2008-01-08 11:28:06 +0100 (Tue, 08 Jan 2008)
New Revision: 3037
Modified:
trunk/LinuxBIOSv2/src/config/Config.lb
Log:
Ubuntu's gcc doesn't write "install:" in german locales.
Normalize used locale to "C" before parsing output.
Signed-off-by: Patrick Georgi <patrick at georgi-clan.de>
Acked-by: Stefan Reinauer <stepan at coresystems.de>
Modified: trunk/LinuxBIOSv2/src/config/Config.lb
===================================================================
--- trunk/LinuxBIOSv2/src/config/Config.lb 2008-01-07 13:48:51 UTC (rev 3036)
+++ trunk/LinuxBIOSv2/src/config/Config.lb 2008-01-08 10:28:06 UTC (rev 3037)
@@ -5,7 +5,7 @@
makedefine CPP:= $(CC) -x assembler-with-cpp -DASSEMBLY -E
makedefine LIBGCC_FILE_NAME := $(shell $(CC) -print-libgcc-file-name)
-makedefine GCC_INC_DIR := $(shell $(CC) -print-search-dirs | sed -ne "s/install: \(.*\)/\1include/gp")
+makedefine GCC_INC_DIR := $(shell LC_ALL=C $(CC) -print-search-dirs | sed -ne "s/install: \(.*\)/\1include/gp")
makedefine CPPFLAGS := -I$(TOP)/src/include -I$(TOP)/src/arch/$(ARCH)/include -I$(GCC_INC_DIR) $(CPUFLAGS)
makedefine CFLAGS := $(CPU_OPT) $(CPPFLAGS) -Os -nostdinc -nostdlib -fno-builtin -Wall
More information about the coreboot
mailing list