summaryrefslogtreecommitdiffstats
path: root/qmake
diff options
context:
space:
mode:
authorYuhang Zhao <2546789017@qq.com>2019-03-20 20:33:25 +0800
committerYuhang Zhao <2546789017@qq.com>2019-03-21 23:46:20 +0000
commitb73eef0b511b0e92c954c0b1355897108db827ba (patch)
tree5579954f2c3726f68d72486c6fe9e6cd96f1e469 /qmake
parent12bc039baa2672c98518277ea146bedec3a92ac0 (diff)
Clang: Enable precompiled header for qmake
Tested with Clang 8.0.0, everything works fine. Task-number: QTBUG-74563 Change-Id: I3e216b062352851a7be59543ef1a4029f919111d Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'qmake')
-rw-r--r--qmake/Makefile.win322
1 files changed, 0 insertions, 2 deletions
diff --git a/qmake/Makefile.win32 b/qmake/Makefile.win32
index 506e9deb19..6ab40c6765 100644
--- a/qmake/Makefile.win32
+++ b/qmake/Makefile.win32
@@ -24,10 +24,8 @@ LINKER = link
CFLAGS_EXTRA = /MP /wd4577 $(CFLAGS_CRT)
!endif # !win32-icc
-!if "$(QMAKESPEC)" != "win32-clang-msvc"
CFLAGS_PCH = -Yuqmake_pch.h -FIqmake_pch.h -Fpqmake_pch.pch
PCH_OBJECT = qmake_pch.obj
-!endif
CFLAGS_BARE = -c -Fo./ -Fdqmake.pdb \
-W2 -nologo -O2 \