From 5bf42f86aafc2e58ef03666e0c9a2df4a9677618 Mon Sep 17 00:00:00 2001 From: Kai Nacke Date: Fri, 25 Oct 2013 23:30:32 +0200 Subject: [PATCH] Remove -Werror from LLVM_CXXFLAGS. This flag causes compile errors we can't fix. --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 072332b9..847d9b5c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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.