mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-22 23:19:14 +02:00
Closes: https://bugs.gentoo.org/953956 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
18 lines
1.2 KiB
Diff
18 lines
1.2 KiB
Diff
diff '--color=auto' -Nuar rustc-1.86.0-src.orig/src/bootstrap/src/utils/helpers.rs rustc-1.86.0-src/src/bootstrap/src/utils/helpers.rs
|
|
--- rustc-1.86.0-src.orig/src/bootstrap/src/utils/helpers.rs 2025-03-31 22:37:24.000000000 +0100
|
|
+++ rustc-1.86.0-src/src/bootstrap/src/utils/helpers.rs 2025-04-17 12:31:37.651607535 +0100
|
|
@@ -451,12 +451,12 @@
|
|
if !builder.is_lld_direct_linker(target) && builder.config.lld_mode.is_used() {
|
|
match builder.config.lld_mode {
|
|
LldMode::External => {
|
|
- args.push("-Clinker-flavor=gnu-lld-cc".to_string());
|
|
+ args.push("-Zlinker-features=+lld".to_string());
|
|
// FIXME(kobzol): remove this flag once MCP510 gets stabilized
|
|
args.push("-Zunstable-options".to_string());
|
|
}
|
|
LldMode::SelfContained => {
|
|
- args.push("-Clinker-flavor=gnu-lld-cc".to_string());
|
|
+ args.push("-Zlinker-features=+lld".to_string());
|
|
args.push("-Clink-self-contained=+linker".to_string());
|
|
// FIXME(kobzol): remove this flag once MCP510 gets stabilized
|
|
args.push("-Zunstable-options".to_string());
|