diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2007-07-06 00:03:03 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@gcc.gnu.org> | 2007-07-06 00:03:03 +0000 |
commit | 6ed80bc4daaa9c462167ba33f34234692ef7bfad (patch) | |
tree | bdf938e7810470f120cec02459ebc1bc0b2eeef3 | |
parent | 47220f037b15e41c272d9ddf92443ddb84c94d41 (diff) | |
download | gcc-6ed80bc4daaa9c462167ba33f34234692ef7bfad.zip gcc-6ed80bc4daaa9c462167ba33f34234692ef7bfad.tar.gz gcc-6ed80bc4daaa9c462167ba33f34234692ef7bfad.tar.bz2 |
libstdc++.exp (v3-build_support): Use env(AR) and env(RANLIB), not env(AR_FOR_TARGET) and env(RANLIB_FOR_TARGET).
* testsuite/lib/libstdc++.exp (v3-build_support): Use env(AR)
and env(RANLIB), not env(AR_FOR_TARGET) and env(RANLIB_FOR_TARGET).
From-SVN: r126392
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/lib/libstdc++.exp | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index fdfb780..311d1e1 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2007-07-06 Hans-Peter Nilsson <hp@axis.com> + + * testsuite/lib/libstdc++.exp (v3-build_support): Use env(AR) + and env(RANLIB), not env(AR_FOR_TARGET) and env(RANLIB_FOR_TARGET). + 2007-07-05 Joerg Richter <joerg.richter@pdv-fs.de> PR libstdc++/31957 diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp index 7a27ad1..a0bca54 100644 --- a/libstdc++-v3/testsuite/lib/libstdc++.exp +++ b/libstdc++-v3/testsuite/lib/libstdc++.exp @@ -502,8 +502,8 @@ proc v3-build_support { } { } # Collect into libtestc++.a - if [info exists env(AR_FOR_TARGET)] { - set ar $env(AR_FOR_TARGET) + if [info exists env(AR)] { + set ar $env(AR) } else { set ar [transform "ar"] } @@ -512,8 +512,8 @@ proc v3-build_support { } { set result [lindex [local_exec "$arcommand" "" "" 300] 0] verbose "link result is $result" if { $result == 0 } { - if [info exists env(RANLIB_FOR_TARGET)] { - set ranlib $env(RANLIB_FOR_TARGET) + if [info exists env(RANLIB)] { + set ranlib $env(RANLIB) } else { set ranlib [transform "ranlib"] } |