diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-04-13 14:55:55 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-04-13 15:04:29 +0200 |
commit | 3b2c2faa1fbc4bb51fa1dc34f71fea155f5f0664 (patch) | |
tree | 6755891751db709e04f34c95f54297981205f6a3 /testing/rust/fix-linux_musl_base.patch | |
parent | 0762f2d2d91b07112e63111f64303d965d992fbd (diff) | |
download | aports-3b2c2faa1fbc4bb51fa1dc34f71fea155f5f0664.tar.bz2 aports-3b2c2faa1fbc4bb51fa1dc34f71fea155f5f0664.tar.xz |
testing/rust: build dynamically linked binaries by default
Note that users still can switch to static linking using
`-C target-feature=+crt-static`, that is allowed in our rustc.
Diffstat (limited to 'testing/rust/fix-linux_musl_base.patch')
-rw-r--r-- | testing/rust/fix-linux_musl_base.patch | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/rust/fix-linux_musl_base.patch b/testing/rust/fix-linux_musl_base.patch index 38194290cb..952d871667 100644 --- a/testing/rust/fix-linux_musl_base.patch +++ b/testing/rust/fix-linux_musl_base.patch @@ -57,7 +57,8 @@ See https://github.com/rust-lang/rust/pull/40113 - base.post_link_objects.push("crtn.o".to_string()); - // Except for on MIPS, these targets statically link libc by default. - base.crt_static_default = true; +- base.crt_static_default = true; ++ base.crt_static_default = false; base } |