summaryrefslogtreecommitdiffstats
path: root/mkspecs/common/uikit/clang.conf
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/common/uikit/clang.conf')
-rw-r--r--mkspecs/common/uikit/clang.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/mkspecs/common/uikit/clang.conf b/mkspecs/common/uikit/clang.conf
new file mode 100644
index 0000000000..6b9b7eea8e
--- /dev/null
+++ b/mkspecs/common/uikit/clang.conf
@@ -0,0 +1,7 @@
+#
+# compiler settings for iOS/tvOS/watchOS clang compilers
+#
+
+# Based on the following information, http://clang.llvm.org/doxygen/ObjCRuntime_8h_source.html,
+# we can conclude that it's safe to always pass the following flags
+QMAKE_OBJECTIVE_CFLAGS += -fobjc-nonfragile-abi -fobjc-legacy-dispatch