libstdc++.exp (v3-build_support): Delete libtestc++.a before creation.

* testsuite/lib/libstdc++.exp (v3-build_support): Delete
	libtestc++.a before creation.

From-SVN: r167693
This commit is contained in:
Rainer Orth 2010-12-10 16:25:51 +00:00 committed by Rainer Orth
parent a103dc54a7
commit e20fb3cf3d
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* testsuite/lib/libstdc++.exp (v3-build_support): Delete
libtestc++.a before creation.
2010-10-01 Release Manager
* GCC 4.4.5 released.

View File

@ -554,6 +554,15 @@ proc v3-build_support { } {
}
# 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 {