summaryrefslogtreecommitdiffstats
path: root/mkspecs/common/clang-mac.conf
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2017-04-11 14:18:42 -0700
committerThiago Macieira <thiago.macieira@intel.com>2017-04-12 03:37:01 +0000
commit8ccd38d20dfe4d9b359d54d3b308fc3234b9c815 (patch)
tree54a0219d1c87e86e15a3cc5ef9b45e27539a7f6a /mkspecs/common/clang-mac.conf
parentcd5c8e78c70cbc68109e43720da6e515124bb9ab (diff)
Move Apple-specific -fapplication-extensions option to the mkspec
The Intel compiler does not know about it. Change-Id: I523b0abacd5148b2bf08fffd14b4748c3b33c8fb Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'mkspecs/common/clang-mac.conf')
-rw-r--r--mkspecs/common/clang-mac.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/mkspecs/common/clang-mac.conf b/mkspecs/common/clang-mac.conf
index 274fd73d00..cbae2e6262 100644
--- a/mkspecs/common/clang-mac.conf
+++ b/mkspecs/common/clang-mac.conf
@@ -9,3 +9,5 @@ QMAKE_XCODE_GCC_VERSION = com.apple.compilers.llvm.clang.1_0
QMAKE_CXXFLAGS += -stdlib=libc++
QMAKE_LFLAGS += -stdlib=libc++
QMAKE_AR_LTCG = libtool -static -o
+
+QMAKE_CFLAGS_APPLICATION_EXTENSION = -fapplication-extension