diff options
author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-19 18:24:25 +0000 |
---|---|---|
committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-19 18:24:25 +0000 |
commit | bb508b82f40ee7e294c1be266b1aa0fb48b8d849 (patch) | |
tree | 2c748cbacb07d15bce670ff939a9c74c8a1b1f1e /gcc/testsuite/lib/gcc-defs.exp | |
parent | 755fa783e823d11a964be88b24eab1bf7666368c (diff) | |
download | gcc-bb508b82f40ee7e294c1be266b1aa0fb48b8d849.tar.gz |
* lib/gcc-defs.exp (gcc-set-multilib-library-path): Use eval to
exec $compiler.
* lib/gfortran.exp (gfortran_link_flags): Remove braces around
$GFORTRAN_UNDER_TEST.
(gfortran_init): Use -B to specify specpath, add trailing /.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166950 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/lib/gcc-defs.exp')
-rw-r--r-- | gcc/testsuite/lib/gcc-defs.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/lib/gcc-defs.exp b/gcc/testsuite/lib/gcc-defs.exp index af898e5aa78..59421832a12 100644 --- a/gcc/testsuite/lib/gcc-defs.exp +++ b/gcc/testsuite/lib/gcc-defs.exp @@ -253,7 +253,7 @@ proc gcc-set-multilib-library-path { compiler } { set options [lrange $compiler 1 end] set compiler [lindex $compiler 0] if { [is_remote host] == 0 && [which $compiler] != 0 } { - foreach i "[exec $compiler $options --print-multi-lib]" { + foreach i "[eval exec $compiler $options --print-multi-lib]" { set mldir "" regexp -- "\[a-z0-9=_/\.-\]*;" $i mldir set mldir [string trimright $mldir "\;@"] |