Filter out -fno-exceptions from llvm-config --cxxflags

This commit is contained in:
Lachlan Sneff 2019-03-05 13:23:26 -08:00
parent c86c910054
commit 276e5125b5

View File

@ -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(" ")
}