diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2019-07-07 22:34:53 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-08-30 02:59:13 -0300 |
commit | 6c8381ba967cd3842484965f3f7c1200a42a5539 (patch) | |
tree | f2f504337d74d67be7ecd204e8d3ec531139b602 /community/rust/musl-fix-linux_musl_base.patch | |
parent | 7184ba0dd972247e83d1e0204c1f43c247ad84e5 (diff) | |
download | aports-6c8381ba967cd3842484965f3f7c1200a42a5539.tar.bz2 aports-6c8381ba967cd3842484965f3f7c1200a42a5539.tar.xz |
community/rust: upgrade to 1.37.0, enable on aarch64&x86 again
Use upstream triplets for now, rust doesn't seem to want to work with our
triplets...
See https://github.com/rust-lang/rust/issues/62447
Diffstat (limited to 'community/rust/musl-fix-linux_musl_base.patch')
-rw-r--r-- | community/rust/musl-fix-linux_musl_base.patch | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/community/rust/musl-fix-linux_musl_base.patch b/community/rust/musl-fix-linux_musl_base.patch index 90314dce62..2e86e6e3bc 100644 --- a/community/rust/musl-fix-linux_musl_base.patch +++ b/community/rust/musl-fix-linux_musl_base.patch @@ -6,10 +6,11 @@ See https://github.com/rust-lang/rust/pull/40113 --- a/src/librustc_target/spec/linux_musl_base.rs +++ b/src/librustc_target/spec/linux_musl_base.rs -@@ -13,28 +13,12 @@ +@@ -13,28 +13,13 @@ pub fn opts() -> TargetOptions { let mut base = super::linux_base::opts(); - + ++ base.need_rpath = true; - // Make sure that the linker/gcc really don't pull in anything, including - // default objects, libs, etc. - base.pre_link_args_crt.insert(LinkerFlavor::Gcc, Vec::new()); |