aboutsummaryrefslogtreecommitdiffstats
path: root/community/rust/musl-fix-linux_musl_base.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/rust/musl-fix-linux_musl_base.patch')
-rw-r--r--community/rust/musl-fix-linux_musl_base.patch4
1 files changed, 3 insertions, 1 deletions
diff --git a/community/rust/musl-fix-linux_musl_base.patch b/community/rust/musl-fix-linux_musl_base.patch
index f2efb065e0..7b2f26895c 100644
--- a/community/rust/musl-fix-linux_musl_base.patch
+++ b/community/rust/musl-fix-linux_musl_base.patch
@@ -56,8 +56,10 @@ See https://github.com/rust-lang/rust/pull/40113
- base.pre_link_objects_exe.push("crti.o".to_string());
- base.post_link_objects.push("crtn.o".to_string());
-
- // Except for on MIPS, these targets statically link libc by default.
+ // These targets statically link libc by default
base.crt_static_default = true;
+ // These targets allow the user to choose between static and dynamic linking.
+ base.crt_static_respected = true;
base
}