libtestc++.a before creation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167692
138bc75d-0d04-0410-961f-
82ee72b054a4
+2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * testsuite/lib/libstdc++.exp (v3-build_support): Delete
+ libtestc++.a before creation.
+
2010-12-10 Jack Howarth <howarth@bromo.med.uc.edu>
Iain Sandoe <iains@gcc.gnu.org>
}
# Collect into libtestc++.a
+ # Delete libtestc++.a first. Mixed 32 and 64-bit archives cannot be
+ # linked on IRIX 6.
+ # Use same procedure as gcc-dg.exp (remove-build-file).
+ if [is_remote host] {
+ # Ensure the host knows the file is gone by deleting there
+ # first.
+ remote_file host delete "./libtestc++.a"
+ }
+ remote_file build delete "./libtestc++.a"
if [info exists env(AR)] {
set ar $env(AR)
} else {