set maybe_failed 0
set ld_output ""
+ # Don't leave previous output around
+ if { $binfile ne "tmpdir/" } {
+ remote_file host delete $binfile
+ }
+
# Add -fno-lto. LTO should be tested explicitly by $cflags.
if {[check_lto_available]} {
set cflags "-fno-lto $cflags"
set objfiles {}
set failed 0
+ # Don't leave previous output around
+ if { $binfile ne "tmpdir/" } {
+ remote_file host delete $binfile
+ }
+
if { ![check_compiler_available] } {
unsupported $testname
continue
set check_ld(terminal) 0
set check_ld(source) ""
+ # Don't leave previous output around
+ if { $binfile ne "tmpdir/" } {
+ remote_file host delete $binfile
+ }
+
if { ![check_compiler_available] } {
unsupported $testname
continue