Index: toolchain-funcs.eclass =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v retrieving revision 1.56 diff -u -b -B -r1.56 toolchain-funcs.eclass --- toolchain-funcs.eclass 17 Feb 2006 22:18:20 -0000 1.56 +++ toolchain-funcs.eclass 27 Mar 2006 18:07:18 -0000 @@ -197,7 +197,7 @@ # gcc -dumpspecs is parsed first, followed by files listed by "gcc -v" # as "Reading ", in order. gcc-specs-directive() { - local specfiles=$($(tc-getCC) -v 2>&1 | awk '$1=="Reading" {print $NF}') + local specfiles=$(LC_ALL= $(tc-getCC) -v 2>&1 | awk '$1=="Reading" {print $NF}') $(tc-getCC) -dumpspecs 2> /dev/null | cat - ${specfiles} | awk -v directive=$1 \ 'BEGIN { pspec=""; spec=""; outside=1 } $1=="*"directive":" { pspec=spec; spec=""; outside=0; next }