summaryrefslogtreecommitdiff
path: root/dist/clang/patches/bug32018_workaround-llvm-tblgen-crash-during-mingw-build.patch
blob: 752ae87a5d28aedfe55fa81ac3b40187b5f295d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/utils/TableGen/CMakeLists.txt b/utils/TableGen/CMakeLists.txt
index 604e3f1..4e5874c 100644
--- a/utils/TableGen/CMakeLists.txt
+++ b/utils/TableGen/CMakeLists.txt
@@ -1,4 +1,7 @@
 set(LLVM_LINK_COMPONENTS Support)
+if (MINGW)
+    set(CMAKE_BUILD_TYPE "Debug")
+endif()
 
 add_tablegen(llvm-tblgen LLVM
   AsmMatcherEmitter.cpp