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