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
This commit is contained in:
parent
f3a8a5abfb
commit
039183c961
@ -1,3 +1,9 @@
|
||||
2007-03-05 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
PR libstdc++/30675
|
||||
* testsuite/lib/libstdc++.exp (v3-build_support): Use [transform
|
||||
"ar"] and [transform "ranlib"].
|
||||
|
||||
2007-03-04 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
* testsuite/27_io/basic_ostream/inserters_arithmetic/
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user