mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-30 17:11:33 +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
|
||||
.split(&[' ', '\n'][..])
|
||||
.filter(|word| !word.starts_with("-W"))
|
||||
.filter(|word| word != &"-fno-exceptions")
|
||||
.collect::<Vec<_>>()
|
||||
.join(" ")
|
||||
}
|
||||
|
Reference in New Issue
Block a user