* lib/ld.exp (default_ld_compile): Remove the output file before
compiling.
This commit is contained in:
parent
197e30e560
commit
0d29b6cc9d
1 changed files with 2 additions and 0 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue