summaryrefslogtreecommitdiffstats
path: root/mkspecs/macx-llvm
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/macx-llvm')
-rw-r--r--mkspecs/macx-llvm/qmake.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/mkspecs/macx-llvm/qmake.conf b/mkspecs/macx-llvm/qmake.conf
index 0064fb0..95c2b28 100644
--- a/mkspecs/macx-llvm/qmake.conf
+++ b/mkspecs/macx-llvm/qmake.conf
@@ -17,4 +17,9 @@ include(../common/mac.conf)
include(../common/llvm.conf)
include(../common/gcc-base-mac.conf)
+QMAKE_OBJCFLAGS_PRECOMPILE = -x objective-c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
+QMAKE_OBJCFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE
+QMAKE_OBJCXXFLAGS_PRECOMPILE = -x objective-c++-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
+QMAKE_OBJCXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE
+
load(qt_config)