summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-04-16 14:16:45 +0000
committerMike Frysinger <vapier@gentoo.org>2008-04-16 14:16:45 +0000
commit3f92fa06c4624baf279e4583da2b0391a77f1920 (patch)
tree1f6c168a08db7de63d7aa837f26fa5e1bdac7fb2 /eclass
parentamd64 stable, bug #215735. (diff)
downloadgentoo-2-3f92fa06c4624baf279e4583da2b0391a77f1920.tar.gz
gentoo-2-3f92fa06c4624baf279e4583da2b0391a77f1920.tar.bz2
gentoo-2-3f92fa06c4624baf279e4583da2b0391a77f1920.zip
set locale to C when trying to parse the output of gcc as reported by Xake #217852
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain-funcs.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass
index 46b338ee8c26..bc97cefe0e04 100644
--- a/eclass/toolchain-funcs.eclass
+++ b/eclass/toolchain-funcs.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.75 2008/01/02 01:01:03 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.76 2008/04/16 14:16:45 vapier Exp $
# @ECLASS: toolchain-funcs.eclass
# @MAINTAINER:
@@ -297,7 +297,7 @@ gcc-micro-version() {
# Returns the installation directory - internal toolchain
# function for use by _gcc-specs-exists (for flag-o-matic).
_gcc-install-dir() {
- echo "$($(tc-getCC) -print-search-dirs 2> /dev/null |\
+ echo "$(LC_ALL=C $(tc-getCC) -print-search-dirs 2> /dev/null |\
awk '$1=="install:" {print $2}')"
}
# Returns true if the indicated specs file exists - internal toolchain