summaryrefslogtreecommitdiffstats
path: root/mkspecs/common
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2021-06-21 21:48:25 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-06-25 15:40:57 +0000
commit2916b5afc4bb8170b8413a5f1f9475c4aa11ea87 (patch)
tree2c3392691732aece8b5a6b886b2d5ebca835d7d2 /mkspecs/common
parent9ce389f0d57c60d351b7d7ce5aa1ead6d792f474 (diff)
macOS: Respect QMAKE_APPLE_DEVICE_ARCHS by building for all those archs
If QMAKE_APPLE_DEVICE_ARCHS is not set, we pick up the available archs based on what Qt was built with (QT_ARCS), but only build the active arch. Change-Id: I83273f878022af34a3a0d0eeae8b11d781f78c49 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit b0a9825edb490de9e2af09bb91fb6f1819fd7616) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'mkspecs/common')
-rw-r--r--mkspecs/common/macx.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/mkspecs/common/macx.conf b/mkspecs/common/macx.conf
index 2979868c81..4edf26406d 100644
--- a/mkspecs/common/macx.conf
+++ b/mkspecs/common/macx.conf
@@ -17,6 +17,8 @@ device.dir_affix = $${device.sdk}
device.CONFIG = $${device.sdk}
device.deployment_identifier = $${device.sdk}
+CONFIG += only_active_arch
+
QMAKE_LIBS_VULKAN =
include(mac.conf)