qt5base-lts/mkspecs/features/mac
Tor Arne Vestbø 6387138a79 Pass SDK root to the linker as -isysroot, not -Wl,-syslibroot
The former option to clang will result in more options to the linker,
such as the newly introduced -platform_version, which writes the
SDK version to the resulting binary. By using the syslibroot flag
directly we were missing the platform version, and binaries were
left without an SDK version set, resulting in failed validation
of the binary. Going with the clang driver gives us the right
behavior for free.

Fixes: QTBUG-83100
Change-Id: I98bc9ba644dae4bcc7a6a88481556bae185ce5fa
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
(cherry picked from commit 6a60192ac03d0b4ab542191065122243cebcd1ca)
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2020-04-02 18:33:42 +02:00
..
unsupported Add tool to namespace Objective-C classes at link time 2016-01-29 14:41:21 +00:00
asset_catalogs.prf escape literal backslashes in qmake files 2018-12-12 17:24:39 +00:00
default_post.prf Pass SDK root to the linker as -isysroot, not -Wl,-syslibroot 2020-04-02 18:33:42 +02:00
default_pre.prf Fix build of applications on iOS 2018-05-13 08:48:53 +00:00
mac.prf Fix resolution of QMAKE_INFO_PLIST for non-bundle artifacts 2017-10-23 13:50:45 +00:00
no_warn_empty_obj_files.prf macOS: Prevent warnings about object files without any symbols 2019-09-25 15:39:02 +02:00
objective_c.prf unset OBJECTIVE_SOURCES and QMAKE_OBJECTIVE_CFLAGS after absorbing them 2016-10-25 17:49:49 +00:00
rez.prf
sdk.mk macOS: Don't check for stale SDK unless target needs to be remade 2019-01-29 11:08:31 +00:00
sdk.prf Fix determination of OpenGL include paths on macOS, take 3 2019-04-27 07:32:53 +00:00
toolchain.prf fix QMAKE_DEFAULT_*DIRS resolution with apple SDK, take 2 2016-10-16 00:12:11 +00:00