diff options
author | Jory Pratt <anarchy@gentoo.org> | 2022-08-03 06:58:46 -0500 |
---|---|---|
committer | Jory Pratt <anarchy@gentoo.org> | 2022-08-03 06:58:46 -0500 |
commit | 480a5a3e7993af0f29de1609d2f5ffdeb815e1a7 (patch) | |
tree | 8e624169b5d5b9fd95f07311970d9e0c04d87cc3 /dev-lang/rust/files | |
parent | x11-wm/fluxbox: [QA] fix DTD HTTP->HTTPS (diff) | |
download | musl-480a5a3e7993af0f29de1609d2f5ffdeb815e1a7.tar.gz musl-480a5a3e7993af0f29de1609d2f5ffdeb815e1a7.tar.bz2 musl-480a5a3e7993af0f29de1609d2f5ffdeb815e1a7.zip |
dev-lang/rust: update dynamic linking patch
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Jory Pratt <anarchy@gentoo.org>
Diffstat (limited to 'dev-lang/rust/files')
-rw-r--r-- | dev-lang/rust/files/1.62.1-musl-dynamic-linking.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-lang/rust/files/1.62.1-musl-dynamic-linking.patch b/dev-lang/rust/files/1.62.1-musl-dynamic-linking.patch new file mode 100644 index 00000000..6d53487a --- /dev/null +++ b/dev-lang/rust/files/1.62.1-musl-dynamic-linking.patch @@ -0,0 +1,25 @@ +From e42709c46647dab342b826d30324f3e6e5590e00 Mon Sep 17 00:00:00 2001 +From: Jory Pratt <anarchy@gentoo.org> +Date: Tue, 2 Aug 2022 18:32:53 -0500 +Subject: [PATCH] Enable dynamic linking by default for musl + +Signed-off-by: Jory Pratt <anarchy@gentoo.org> +--- + compiler/rustc_target/src/spec/linux_musl_base.rs | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/compiler/rustc_target/src/spec/linux_musl_base.rs b/compiler/rustc_target/src/spec/linux_musl_base.rs +index 207a87ab0..8a5a43363 100644 +--- a/compiler/rustc_target/src/spec/linux_musl_base.rs ++++ b/compiler/rustc_target/src/spec/linux_musl_base.rs +@@ -10,7 +10,7 @@ pub fn opts() -> TargetOptions { + base.crt_objects_fallback = Some(CrtObjectsFallback::Musl); + + // These targets statically link libc by default +- base.crt_static_default = true; ++ base.crt_static_default = false; + + base + } +-- +2.35.1
\ No newline at end of file |