aboutsummaryrefslogtreecommitdiffstats
path: root/packaging-tools/build_clang_qdoc.py
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@gmail.com>2020-05-05 16:40:10 +0200
committerCristian Adam <cristian.adam@qt.io>2020-05-05 16:46:24 +0000
commit16b6522204b90b5d0ad036cc5057e0a06918ef0f (patch)
tree4609a057964d935363ad6362822df67558b31122 /packaging-tools/build_clang_qdoc.py
parent4ef4f083cb0c390c1e82fc786f803eb3f6417e6b (diff)
Qdoc_liblang: restrict to X86 target
MinGW 8.1.0 32bit is crashing with an internal compiler error on the ARM target. I think qdoc only needs the X86 target, I thought I might workaround the compiler error by not compiling the code that breaks and which I think it is not needed. Change-Id: I98ac71b817f05938fd17fb09fd638f8fed605217 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Diffstat (limited to 'packaging-tools/build_clang_qdoc.py')
-rw-r--r--packaging-tools/build_clang_qdoc.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/packaging-tools/build_clang_qdoc.py b/packaging-tools/build_clang_qdoc.py
index c83bb5b76..fea23de1b 100644
--- a/packaging-tools/build_clang_qdoc.py
+++ b/packaging-tools/build_clang_qdoc.py
@@ -186,6 +186,7 @@ def cmake_command(toolchain, src_path, build_path, install_path, bitness, build_
cmake_generator(toolchain),
'-DCMAKE_BUILD_TYPE=' + build_type,
'-DLLVM_ENABLE_PROJECTS=clang',
+ '-DLLVM_TARGETS_TO_BUILD=X86',
'-DLLVM_USE_CRT_RELEASE=MT',
'-DLIBCLANG_BUILD_STATIC=ON',
'-DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=ON',