llvm-ld has a new option called -b to specify the name of bitcode output file, use that.

llvm-svn: 78282
This commit is contained in:
Sanjiv Gupta 2009-08-06 04:09:26 +00:00
parent 87754848ab
commit bdaaacad9a
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ def llvm_ld_lto : Tool<[
(in_language "llvm-bitcode"),
(out_language "llvm-bitcode"),
(output_suffix "bc"),
(cmd_line "$CALL(GetBinDir)llvm-ld -L $CALL(GetStdLibsDir) -l std $INFILE -o $OUTFILE"),
(cmd_line "$CALL(GetBinDir)llvm-ld -L $CALL(GetStdLibsDir) -l std $INFILE -b $OUTFILE"),
(actions (case
(switch_on "g"), (append_cmd "-disable-opt"),
(not_empty "Wo,"), (unpack_values "Wo,"))),