diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-07-30 09:27:55 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-08-22 13:01:47 -0500 |
commit | deadc0b0505fda1f8fa8f74168bac91497c2818e (patch) | |
tree | 50096884d85d99f6d6801d0fc82f62b55c8c61d7 /bootstrap/rust-1.76/0001-Fix-LLVM-build.patch | |
parent | c2df0cfb7b126b4ccca129cb60b75c33d8005884 (diff) | |
download | packages-deadc0b0505fda1f8fa8f74168bac91497c2818e.tar.gz packages-deadc0b0505fda1f8fa8f74168bac91497c2818e.tar.bz2 packages-deadc0b0505fda1f8fa8f74168bac91497c2818e.tar.xz packages-deadc0b0505fda1f8fa8f74168bac91497c2818e.zip |
bootstrap/rust-1.{61-79}: New package
Diffstat (limited to 'bootstrap/rust-1.76/0001-Fix-LLVM-build.patch')
-rw-r--r-- | bootstrap/rust-1.76/0001-Fix-LLVM-build.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/bootstrap/rust-1.76/0001-Fix-LLVM-build.patch b/bootstrap/rust-1.76/0001-Fix-LLVM-build.patch new file mode 100644 index 000000000..f249c7f9a --- /dev/null +++ b/bootstrap/rust-1.76/0001-Fix-LLVM-build.patch @@ -0,0 +1,22 @@ +From 855b7d97e96e67bd5db5c0016c3b9965a5c1843f Mon Sep 17 00:00:00 2001 +From: Samuel Holland <samuel@sholland.org> +Date: Fri, 8 Sep 2017 00:04:29 -0500 +Subject: [PATCH 01/12] Fix LLVM build + +--- + src/bootstrap/src/lib.rs | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/bootstrap/src/lib.rs b/src/bootstrap/src/lib.rs +index 33b8f1a7ce720..d933a8bc37f88 100644 +--- a/src/bootstrap/src/lib.rs ++++ b/src/bootstrap/src/lib.rs +@@ -1187,7 +1187,7 @@ impl Build { + .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 C++ on macOS then we add a flag indicating that |