diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2018-05-13 07:44:46 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2018-05-17 10:37:22 -0700 |
| commit | 250bff145f74be439023e61ecea1c4cdf673a056 (patch) | |
| tree | 29ed375c73c01d9b3e2f44f0a0c47806f832aa9d /src/librustc_codegen_llvm/back | |
| parent | 14507f50df106e98685a07c76108ae6e9c1ae5ac (diff) | |
| download | rust-250bff145f74be439023e61ecea1c4cdf673a056.tar.gz rust-250bff145f74be439023e61ecea1c4cdf673a056.zip | |
Revert "musl: link crt{begin,end}.o from the system compiler"
This reverts commit 6d9154a830dd9773fe8a4e34e1fc3dfb1ca6f935.
Diffstat (limited to 'src/librustc_codegen_llvm/back')
| -rw-r--r-- | src/librustc_codegen_llvm/back/link.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/librustc_codegen_llvm/back/link.rs b/src/librustc_codegen_llvm/back/link.rs index dbfd430a3e2..4e9910e58f3 100644 --- a/src/librustc_codegen_llvm/back/link.rs +++ b/src/librustc_codegen_llvm/back/link.rs @@ -648,12 +648,6 @@ fn link_natively(sess: &Session, for obj in &sess.target.target.options.pre_link_objects_exe_crt { cmd.arg(root.join(obj)); } - - for obj in &sess.target.target.options.pre_link_objects_exe_crt_sys { - if flavor == LinkerFlavor::Gcc { - cmd.arg(format!("-l:{}", obj)); - } - } } if sess.target.target.options.is_like_emscripten { @@ -678,11 +672,6 @@ fn link_natively(sess: &Session, cmd.arg(root.join(obj)); } if sess.crt_static() { - for obj in &sess.target.target.options.post_link_objects_crt_sys { - if flavor == LinkerFlavor::Gcc { - cmd.arg(format!("-l:{}", obj)); - } - } for obj in &sess.target.target.options.post_link_objects_crt { cmd.arg(root.join(obj)); } |
