Remove -Werror from LLVM_CXXFLAGS.

This flag causes compile errors we can't fix.
This commit is contained in:
Kai Nacke
2013-10-25 23:30:32 +02:00
parent a73e4602ee
commit 5bf42f86aa

View File

@@ -130,6 +130,8 @@ if(SANITIZE)
endif()
append("${SANITIZE_CXXFLAGS}" DMD_CXXFLAGS)
append("${SANITIZE_CXXFLAGS}" LDC_CXXFLAGS)
# LLVM_CXXFLAGS may contain -Werror which causes compile errors with dmd source
string(REPLACE "-Werror" "" LLVM_CXXFLAGS ${LLVM_CXXFLAGS})
#
# Run idgen and impcnvgen.