diff options
author | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2017-03-07 11:23:28 +0100 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2017-03-08 08:31:28 +0000 |
commit | 83f1b19a3f9c8a5824d0a58329e695582fe1f271 (patch) | |
tree | de1c407c5e50862b15fe88127b7e5c0d394b720a /dist | |
parent | da4e42ec25dd29e883b5bf008d3c78474f177139 (diff) |
Clang: Add patch for workaround of llvm-tblgen crash during mingw build
https://bugs.llvm.org/show_bug.cgi?id=32018
Bug 32018 - llvm-tblgen.exe crashes while compiling LLVM/Clang current
release_40 with MinGW 4.9.2
Change-Id: Ie5ac7c5d0ef040b5767162e19532a8a255633322
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'dist')
-rw-r--r-- | dist/clang/patches/bug32018_workaround-llvm-tblgen-crash-during-mingw-build.patch | 10 |
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 0000000000..68f5cf59d2 --- /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 |