void-packages/srcpkgs/rust/patches/link-llvm-static.patch
Christian Neukirchen d5ca5aec77 rust: update to 1.12.0.
Use self-built Rust for musl for bootstrapping for now.
2016-09-30 15:58:10 +02:00

10 lines
349 B
Diff

--- rustc-1.12.0/src/librustc_llvm/build.rs.orig
+++ rustc-1.12.0/src/librustc_llvm/build.rs
@@ -128,6 +128,7 @@
// of llvm-config, not the target that we're attempting to link.
let mut cmd = Command::new(&llvm_config);
cmd.arg("--libs");
+ cmd.arg("--link-static");
if !is_crossed {
cmd.arg("--system-libs");
}