mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-03 05:23:14 +01:00
Remove -Werror from LLVM_CXXFLAGS.
This flag causes compile errors we can't fix.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user