aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/testsuite/lib/ld.exp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/testsuite/lib/ld.exp b/ld/testsuite/lib/ld.exp
index d01f074..e205cba 100644
--- a/ld/testsuite/lib/ld.exp
+++ b/ld/testsuite/lib/ld.exp
@@ -112,6 +112,8 @@ proc default_ld_compile { cc source object } {
return 0
}
+ catch "exec rm -f $object" exec_output
+
send_log "$cc -I$srcdir$subdir -c $CFLAGS $source -o $object\n"
verbose "$cc -I$srcdir$subdir -c $CFLAGS $source -o $object"