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

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