9082cc8e8d
The qmake variable QMAKE_APPLE_DEVICE_ARCHS was added for iOS, to support universal builds, as the QT_ARCH is a single value. Since the qmake macOS builds are non-universal (at the moment), we remove the hard-coded value for QMAKE_APPLE_DEVICE_ARCHS on macOS, and let the normal architecture test resolve the arch, like on other platforms. To ensure that the following configuration tests are run with an -arch argument, we trigger a commit of the preliminary Qt configuration after running the architecture test. This is not strictly necessary, but makes it clearer what's going on during configure. The device_and_simulator configuration option was used by the iOS toolchain, and needed to be moved up in the configuration test order to not break later tests. The logic in mac/default_post.prf for both Xcode and Makefiles to add -arch flags was kept as is, based on the existing variable, to avoid too many changes to this logic. The logic in toolchain.prf was amended to make it clear and ensure that it only applies to iOS builds. macOS builds do not have this issue. Pick-to: 6.0 Pick-to: 5.15 Pick-to: 5.12 Change-Id: I70db7e4c27f0d3da5d0af33cb491d72c312d3fa8 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> |
||
---|---|---|
.. | ||
aix-g++ | ||
aix-g++-64 | ||
android-clang | ||
common | ||
cygwin-g++ | ||
darwin-g++ | ||
devices | ||
dummy | ||
features | ||
freebsd-clang | ||
freebsd-g++ | ||
haiku-g++ | ||
hpuxi-g++-64 | ||
hurd-g++ | ||
integrity-armv7 | ||
integrity-armv7-imx6 | ||
integrity-armv8-rcar | ||
integrity-x86 | ||
linux-aarch64-gnu-g++ | ||
linux-arm-gnueabi-g++ | ||
linux-clang | ||
linux-clang-32 | ||
linux-clang-libc++ | ||
linux-clang-libc++-32 | ||
linux-g++ | ||
linux-g++-32 | ||
linux-g++-64 | ||
linux-icc | ||
linux-icc-32 | ||
linux-icc-64 | ||
linux-icc-k1om | ||
linux-llvm | ||
linux-lsb-g++ | ||
lynxos-g++ | ||
macx-clang | ||
macx-g++ | ||
macx-icc | ||
macx-ios-clang | ||
macx-tvos-clang | ||
macx-watchos-clang | ||
macx-xcode | ||
modules | ||
netbsd-g++ | ||
openbsd-g++ | ||
qnx-aarch64le-qcc | ||
qnx-armle-v7-qcc | ||
qnx-x86-64-qcc | ||
qnx-x86-qcc | ||
solaris-cc | ||
solaris-cc-64 | ||
solaris-cc-64-stlport | ||
solaris-cc-stlport | ||
solaris-g++ | ||
solaris-g++-64 | ||
unsupported | ||
wasm-emscripten | ||
win32-arm64-msvc | ||
win32-clang-g++ | ||
win32-clang-msvc | ||
win32-g++ | ||
win32-icc | ||
win32-icc-k1om | ||
win32-msvc |