SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
14
lang/rust/patches/patch-src_bootstrap_lib_rs
Normal file
14
lang/rust/patches/patch-src_bootstrap_lib_rs
Normal file
|
@ -0,0 +1,14 @@
|
|||
let us compilation choice to be honored.
|
||||
https://github.com/rust-lang/rust/issues/39900
|
||||
|
||||
Index: src/bootstrap/lib.rs
|
||||
--- src/bootstrap/lib.rs.orig
|
||||
+++ src/bootstrap/lib.rs
|
||||
@@ -1117,7 +1117,6 @@ impl Build {
|
||||
.args()
|
||||
.iter()
|
||||
.map(|s| s.to_string_lossy().into_owned())
|
||||
- .filter(|s| !s.starts_with("-O") && !s.starts_with("/O"))
|
||||
.collect::<Vec<String>>();
|
||||
|
||||
// If we're compiling on macOS then we add a few unconditional flags
|
Loading…
Add table
Add a link
Reference in a new issue