diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-04-03 12:59:51 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-04-09 21:58:54 +0000 |
commit | eaf20420f8a4d72c804a9d3725c3e294b34c78c8 (patch) | |
tree | 85679c23c28b7295667febc7e8885baaa4f2d320 /mkspecs/win32-clang-msvc/qmake.conf | |
parent | fe7a8d61d1428f4d316c2a6884d8dfb8190520f0 (diff) |
Fix precompiled headers with clang-clv5.13.0-beta2
Clang-cl couldn't find the header given to it by -FI when it isn't in
any of the included directories.
Additionally clang-cl 8 has a bug with exported templated classes with
inline methods that causes it to have missing symbols at link time. We
work around this.
Fixes: QTBUG-74563
Change-Id: I7becf05fa8edb07bd4cefe12bee3737e5e1dfa14
Reviewed-by: Yuhang Zhao <2546789017@qq.com>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'mkspecs/win32-clang-msvc/qmake.conf')
-rw-r--r-- | mkspecs/win32-clang-msvc/qmake.conf | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/mkspecs/win32-clang-msvc/qmake.conf b/mkspecs/win32-clang-msvc/qmake.conf index 4b9cac3e22..9a7f70454d 100644 --- a/mkspecs/win32-clang-msvc/qmake.conf +++ b/mkspecs/win32-clang-msvc/qmake.conf @@ -44,7 +44,4 @@ QMAKE_CXXFLAGS_LTCG = $$QMAKE_CFLAGS_LTCG # Leave QMAKE_LFLAGS_LTCG empty because lld-link doesn't need any additional parameters QMAKE_LFLAGS_LTCG = -# Precompiled headers are not supported yet by clang -CONFIG -= precompile_header - load(qt_config) |