qt5base-lts/mkspecs/common
Alexandru Croitor 7ec2153016 qmake: iOS: Don't pass -fobjc-nonfragile-abi -fobjc-legacy-dispatch
According to latest clang source code (llvm-14.0.3) non-fragile ABI
is default for everything but i386 which means we can stop passing the
-fobjc-nonfragile-abi option.

See
https://github.com/llvm/llvm-project/blob/llvmorg-14.0.3/clang/lib/Driver/ToolChains/Darwin.h#L245

This gets rid of the following warning when building a qmake project
for iOS, while targeting the iOS simulator:
  clang: warning: argument unused during compilation:
   '-fobjc-nonfragile-abi' [-Wunused-command-line-argument

It only happens for the simulator case because Xcode adds the
-fobjc-abi-version=2 option, thus the qmake one gets ignored.

As a drive-by also remove the usage of the -fobjc-legacy-dispatch
option. According to clang sources it should be implicitly used
on iOS.
See
https://github.com/llvm/llvm-project/blob/llvmorg-14.0.3/clang/include/clang/Basic/ObjCRuntime.h#L100

Amends d788f636691df5cae59d44a3828a0ddd58c343d0

Pick-to: 6.2 6.3
Fixes: QTBUG-103001
Change-Id: I06f8e46e40a1f04c5bbc4f177afa035e525dfed6
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2022-05-23 21:12:06 +02:00
..
aix Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
android Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
bsd Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
c89 Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
integrity Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
mac Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
nacl Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
posix Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qnx Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
rtems Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
uikit qmake: iOS: Don't pass -fobjc-nonfragile-abi -fobjc-legacy-dispatch 2022-05-23 21:12:06 +02:00
clang-mac.conf
clang.conf qmake: Add support for C++23 2022-04-05 14:27:50 +02:00
g++-base.conf qmake: Add support for C++23 2022-04-05 14:27:50 +02:00
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 Enable -mno-direct-extern-access and ELF protected visibility 2022-03-10 17:10:57 -08:00
ghs-base.conf INTEGRITY: enable C99 globally 2022-05-11 14:56:55 +00:00
ghs-integrity-armv7.conf
ghs-integrity-armv8.conf Add option to select build target for Integrity 2020-04-20 19:34:27 +03:00
ghs-integrity-x86.conf
icc-base-unix.conf
ios.conf
linux.conf
llvm.conf
mac.conf
macx.conf macOS: Bump max supported SDK version to 12 2021-11-04 05:06:04 +01:00
msvc-based-version.conf qmake: Introduce the variable MSVC_TOOLSET_VER 2021-11-10 14:47:42 +01:00
msvc-desktop.conf MSVC: enable identical COMDAT folding for release builds 2020-11-12 03:51:04 +08:00
msvc-version.conf qmake: Add support for C++23 2022-04-05 14:27:50 +02: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 Fix solaris build 2020-05-05 15:34:16 +02:00
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