libstdc++.exp (v3-build_support): Use env(AR) and env(RANLIB), not env(AR_FOR_TARGET...
authorHans-Peter Nilsson <hp@axis.com>
Fri, 6 Jul 2007 00:03:03 +0000 (00:03 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Fri, 6 Jul 2007 00:03:03 +0000 (00:03 +0000)
* 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

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/lib/libstdc++.exp

index fdfb7806b391685a7a3950081d4d3391d640f00e..311d1e19b03c01de160dcd740b343e5ac9104b08 100644 (file)
@@ -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
index 7a27ad1977dec247298e9ed7efbfe6a4dab0fcd8..a0bca54d485e1699716fc9f8fbfd06d9679161a6 100644 (file)
@@ -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"]
        }