* 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
+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
}
# 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"]
}
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"]
}