summaryrefslogtreecommitdiffstats
path: root/mkspecs/common/clang-mac.conf
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/common/clang-mac.conf')
-rw-r--r--mkspecs/common/clang-mac.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/mkspecs/common/clang-mac.conf b/mkspecs/common/clang-mac.conf
new file mode 100644
index 0000000000..f7fe50a50b
--- /dev/null
+++ b/mkspecs/common/clang-mac.conf
@@ -0,0 +1,5 @@
+
+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