summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-06 00:03:03 +0000
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-06 00:03:03 +0000
commitf7708e07d56b182dcd058348a65c4384cb8ddbb5 (patch)
treebdf938e7810470f120cec02459ebc1bc0b2eeef3 /libstdc++-v3
parent37ad331865e3a7d269f5236df4e7c1aea72fedd0 (diff)
downloadgcc-f7708e07d56b182dcd058348a65c4384cb8ddbb5.tar.gz
* testsuite/lib/libstdc++.exp (v3-build_support): Use env(AR)
and env(RANLIB), not env(AR_FOR_TARGET) and env(RANLIB_FOR_TARGET). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126392 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/testsuite/lib/libstdc++.exp8
2 files changed, 9 insertions, 4 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index fdfb7806b39..311d1e19b03 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 7a27ad1977d..a0bca54d485 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"]
}