fa4de5dd3a
This brings in a batch of template changes, including: - We are now using python3 - Cleaned up distfiles fetching section (clearer, shorter) - Binary distfiles now use standard install.sh scripts - Imported various patches from Adélie Linux - We are now using config.toml instead of configure - Other assorted changes
26 lines
1 KiB
Diff
26 lines
1 KiB
Diff
From 59faa3f7b9b07d986bcd810d750daad956bd612b Mon Sep 17 00:00:00 2001
|
|
From: Samuel Holland <samuel@sholland.org>
|
|
Date: Fri, 8 Sep 2017 00:04:29 -0500
|
|
Subject: [PATCH 02/12] Fix LLVM build
|
|
|
|
---
|
|
src/bootstrap/lib.rs | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs
|
|
index ca4489655..7618a6e6d 100644
|
|
--- a/src/bootstrap/lib.rs
|
|
+++ b/src/bootstrap/lib.rs
|
|
@@ -774,7 +774,8 @@ impl Build {
|
|
// cc-rs because the build scripts will determine that for themselves.
|
|
let mut base = self.cc[&target].args().iter()
|
|
.map(|s| s.to_string_lossy().into_owned())
|
|
- .filter(|s| !s.starts_with("-O") && !s.starts_with("/O"))
|
|
+ .filter(|s| !s.starts_with("-O") && !s.starts_with("/O")
|
|
+ && !s.starts_with("-static"))
|
|
.collect::<Vec<String>>();
|
|
|
|
// If we're compiling on macOS then we add a few unconditional flags
|
|
--
|
|
2.22.0
|
|
|