mirror of
https://github.com/void-linux/void-packages.git
synced 2025-10-11 13:05:11 +02:00
10 lines
349 B
Diff
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");
|
|
}
|