mirror of
https://github.com/fluencelabs/wasmer
synced 2025-07-01 09:31:32 +00:00
Filter out -fno-exceptions from llvm-config --cxxflags
This commit is contained in:
@ -199,6 +199,7 @@ fn get_llvm_cxxflags() -> String {
|
|||||||
output
|
output
|
||||||
.split(&[' ', '\n'][..])
|
.split(&[' ', '\n'][..])
|
||||||
.filter(|word| !word.starts_with("-W"))
|
.filter(|word| !word.starts_with("-W"))
|
||||||
|
.filter(|word| word != &"-fno-exceptions")
|
||||||
.collect::<Vec<_>>()
|
.collect::<Vec<_>>()
|
||||||
.join(" ")
|
.join(" ")
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user