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/need-rpath.patch | |
parent | 0a6875fd87508400ae23cc57e63f51a81fac9214 (diff) | |
download | aports-eb064c8d0fafe5b638f0fb1f487acfa80c8d777b.tar.bz2 aports-eb064c8d0fafe5b638f0fb1f487acfa80c8d777b.tar.xz |
community/rust: upgrade to 1.21
Diffstat (limited to 'community/rust/need-rpath.patch')
-rw-r--r-- | community/rust/need-rpath.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/community/rust/need-rpath.patch b/community/rust/need-rpath.patch index b345d27d92..88cc9d8882 100644 --- a/community/rust/need-rpath.patch +++ b/community/rust/need-rpath.patch @@ -55,7 +55,7 @@ Hacky hacky! - if sess.opts.cg.rpath { + // XXX: hacky hacky + let bootstrap = env::var("RUSTC_BOOTSTRAP").is_ok(); -+ if !bootstrap && !sess.fully_static() && ++ if !bootstrap && !sess.crt_static() && + (sess.opts.cg.rpath || sess.target.target.options.need_rpath) { let sysroot = sess.sysroot(); let target_triple = &sess.opts.target_triple; |