* lib/ld.exp (default_ld_compile): Remove the output file before

compiling.
This commit is contained in:
Ian Lance Taylor 1994-10-31 00:05:09 +00:00
parent 197e30e560
commit 0d29b6cc9d
1 changed files with 2 additions and 0 deletions

View File

@ -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"