diff options
author | Joseph Myers <joseph@codesourcery.com> | 2007-03-05 22:07:09 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2007-03-05 22:07:09 +0000 |
commit | 039183c9612b4162b580ea0eaa4d72618c9153a8 (patch) | |
tree | be1e9cd2e75531e8a47b2563963eebc4c7b3adec /libstdc++-v3/testsuite | |
parent | f3a8a5abfb9bd6d65b9e88000afb3d7ce4f2fd29 (diff) | |
download | gcc-039183c9612b4162b580ea0eaa4d72618c9153a8.zip gcc-039183c9612b4162b580ea0eaa4d72618c9153a8.tar.gz gcc-039183c9612b4162b580ea0eaa4d72618c9153a8.tar.bz2 |
re PR libstdc++/30675 (libstdc++ testsuite hardcodes "ar" and "ranlib")
PR libstdc++/30675
* testsuite/lib/libstdc++.exp (v3-build_support): Use [transform
"ar"] and [transform "ranlib"].
From-SVN: r122576
Diffstat (limited to 'libstdc++-v3/testsuite')
-rw-r--r-- | libstdc++-v3/testsuite/lib/libstdc++.exp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp index 3557d13..f69481a 100644 --- a/libstdc++-v3/testsuite/lib/libstdc++.exp +++ b/libstdc++-v3/testsuite/lib/libstdc++.exp @@ -466,11 +466,13 @@ proc v3-build_support { } { } # Collect into libtestc++.a - set arcommand "ar -rc ./libtestc++.a ${libtest_objs}" + set ar [transform "ar"] + set arcommand "$ar -rc ./libtestc++.a ${libtest_objs}" set result [lindex [local_exec "$arcommand" "" "" 300] 0] verbose "link result is $result" if { $result == 0 } { - set ranlibcommand "ranlib ./libtestc++.a" + set ranlib [transform "ranlib"] + set ranlibcommand "$ranlib ./libtestc++.a" set result [lindex [local_exec "$ranlibcommand" "" "" 300] 0] if { $result != 0 } { error "could not link libtestc++.a" |