qt5base-lts/mkspecs/common
Tor Arne Vestbø 9082cc8e8d macOS: Don't hard-code x86_64 as the architecture when using qmake
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>
2020-12-07 15:35:55 +01:00
..
aix
android
bsd
c89
integrity
mac
nacl
posix
qnx
rtems
uikit
clang-mac.conf
clang.conf qmake: Stop using -isystem flag 2020-06-06 09:53:59 +00:00
g++-base.conf
g++-macx.conf
g++-unix.conf
g++-win32.conf Generalize the winmain/qtmain entry-point library 2020-10-17 12:13:00 +02:00
g++.conf
gcc-base-mac.conf
gcc-base-unix.conf
gcc-base.conf Qmake: Share QMAKE_LINK_OBJECT_SCRIPT definition 2020-07-06 16:44:11 +03:00
ghs-base.conf
ghs-integrity-armv7.conf
ghs-integrity-armv8.conf
ghs-integrity-x86.conf
icc-base-unix.conf
ios.conf
linux.conf
llvm.conf
mac.conf
macx.conf macOS: Don't hard-code x86_64 as the architecture when using qmake 2020-12-07 15:35:55 +01:00
msvc-based-version.conf
msvc-desktop.conf MSVC: enable identical COMDAT folding for release builds 2020-11-12 03:51:04 +08:00
msvc-version.conf Build Qt (and client apps using it) with /permissive- 2020-11-10 20:01:49 +01:00
qcc-base-qnx-aarch64le.conf QNX7.1 updates 2020-11-20 15:28:31 +02:00
qcc-base-qnx-armle-v7.conf QNX7.1 updates 2020-11-20 15:28:31 +02:00
qcc-base-qnx-x86-64.conf QNX7.1 updates 2020-11-20 15:28:31 +02:00
qcc-base-qnx-x86.conf QNX7.1 updates 2020-11-20 15:28:31 +02:00
qcc-base-qnx.conf
qcc-base.conf QNX7.1 updates 2020-11-20 15:28:31 +02:00
rtems-base.conf
sanitize.conf configure: Explicitly enable float-divide-by-zero with ubsan 2020-08-07 01:21:07 +02:00
shell-unix.conf
shell-win32.conf
solaris.conf
tvos.conf
uikit.conf Limit OpenGL deprecation silencing on Apple platform to Qt itself 2020-07-02 10:27:58 +02:00
unix.conf
watchos.conf
windows-desktop.conf
windows-vulkan.conf