diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2021-06-21 21:48:25 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2021-06-23 13:43:45 +0200 |
commit | b0a9825edb490de9e2af09bb91fb6f1819fd7616 (patch) | |
tree | 563fe8349f84118beeec128f132f4e2832a6bb7a /mkspecs/common | |
parent | 96469ae338c3146f4efea3fabaaae5bc6ecd6a59 (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.
Pick-to: 6.2
Change-Id: I83273f878022af34a3a0d0eeae8b11d781f78c49
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'mkspecs/common')
-rw-r--r-- | mkspecs/common/macx.conf | 2 |
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) |