diff options
author | Marat Safin <jeizsm@gmail.com> | 2017-10-23 22:18:55 +0300 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-10-28 13:06:08 +0200 |
commit | eb064c8d0fafe5b638f0fb1f487acfa80c8d777b (patch) | |
tree | 3d80b62246e29dcd1d636569c0fcda95518f3914 /community/rust/musl-fix-linux_musl_base.patch | |
parent | 0a6875fd87508400ae23cc57e63f51a81fac9214 (diff) | |
download | aports-eb064c8d0fafe5b638f0fb1f487acfa80c8d777b.tar.bz2 aports-eb064c8d0fafe5b638f0fb1f487acfa80c8d777b.tar.xz |
community/rust: upgrade to 1.21
Diffstat (limited to 'community/rust/musl-fix-linux_musl_base.patch')
-rw-r--r-- | community/rust/musl-fix-linux_musl_base.patch | 4 |
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 } |