aboutsummaryrefslogtreecommitdiffstats
path: root/dist/clang/patches/bug32018_workaround-llvm-tblgen-crash-during-mingw-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dist/clang/patches/bug32018_workaround-llvm-tblgen-crash-during-mingw-build.patch')
-rw-r--r--dist/clang/patches/bug32018_workaround-llvm-tblgen-crash-during-mingw-build.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/dist/clang/patches/bug32018_workaround-llvm-tblgen-crash-during-mingw-build.patch b/dist/clang/patches/bug32018_workaround-llvm-tblgen-crash-during-mingw-build.patch
new file mode 100644
index 00000000000..68f5cf59d21
--- /dev/null
+++ b/dist/clang/patches/bug32018_workaround-llvm-tblgen-crash-during-mingw-build.patch
@@ -0,0 +1,10 @@
+diff --git a/utils/TableGen/CMakeLists.txt b/utils/TableGen/CMakeLists.txt
+index 604e3f1..7632bc5 100644
+--- a/utils/TableGen/CMakeLists.txt
++++ b/utils/TableGen/CMakeLists.txt
+@@ -1,4 +1,5 @@
+ set(LLVM_LINK_COMPONENTS Support)
++set(CMAKE_BUILD_TYPE "Debug")
+
+ add_tablegen(llvm-tblgen LLVM
+ AsmMatcherEmitter.cpp