mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
allow mcc16 users to specify --save-temps even though it is hidden by mcc16.
link libstd.so with llvm-ld by default with all the programs user is trying to build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75460 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7a80f5f825
commit
f935dcc26a
@ -25,7 +25,6 @@ int main(int argc, char** argv) {
|
||||
|
||||
// HACK
|
||||
SaveTemps.setHiddenFlag(llvm::cl::Hidden);
|
||||
SaveTemps = SaveTempsEnum::Unset;
|
||||
TempDirname = "tmp-objs";
|
||||
|
||||
// Remove the temp dir if already exists.
|
||||
|
@ -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 -link-as-library std.lib $INFILE -o $OUTFILE"),
|
||||
(cmd_line "$CALL(GetBinDir)llvm-ld -L $CALL(GetStdLibsDir) -l std $INFILE -o $OUTFILE"),
|
||||
(actions (case
|
||||
(switch_on "g"), (append_cmd "-disable-opt"),
|
||||
(not_empty "Wo,"), (unpack_values "Wo,"))),
|
||||
|
Loading…
Reference in New Issue
Block a user