Blame SOURCES/0001-Use-lld-provided-by-system-for-wasm.patch

4ac2b7
From 9ac837c237568a6c1c5f0e979fcce208cd9c926a Mon Sep 17 00:00:00 2001
4ac2b7
From: Ivan Mironov <mironov.ivan@gmail.com>
4ac2b7
Date: Sun, 8 Dec 2019 17:23:08 +0500
4ac2b7
Subject: [PATCH] Use lld provided by system for wasm
4ac2b7
4ac2b7
---
4ac2b7
 compiler/rustc_target/src/spec/wasm_base.rs | 3 +--
4ac2b7
 1 file changed, 1 insertion(+), 2 deletions(-)
4ac2b7
4ac2b7
diff --git a/compiler/rustc_target/src/spec/wasm_base.rs b/compiler/rustc_target/src/spec/wasm_base.rs
4ac2b7
index 4c954a1e567c..15c4f1bda5eb 100644
4ac2b7
--- a/compiler/rustc_target/src/spec/wasm_base.rs
4ac2b7
+++ b/compiler/rustc_target/src/spec/wasm_base.rs
4ac2b7
@@ -99,8 +99,7 @@ pub fn options() -> TargetOptions {
4ac2b7
         // arguments just yet
4ac2b7
         limit_rdylib_exports: false,
4ac2b7
 
4ac2b7
-        // we use the LLD shipped with the Rust toolchain by default
4ac2b7
-        linker: Some("rust-lld".to_owned()),
4ac2b7
+        linker: Some("lld".to_owned()),
4ac2b7
         lld_flavor: LldFlavor::Wasm,
4ac2b7
         linker_is_gnu: false,
4ac2b7
 
4ac2b7
-- 
4ac2b7
2.31.1
4ac2b7