qt5base-lts/mkspecs/features
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
..
android Android: Use the values rather than the variables with str_member 2020-01-18 14:01:46 +01:00
data CMake Support: Fix dependent libraries search for MinGW and CMake 3.17 2020-02-10 22:36:32 +01:00
mac Pass SDK root to the linker as -isysroot, not -Wl,-syslibroot 2020-04-02 18:33:42 +02:00
uikit Fix PRE_TARGETDEPS for iOS projects 2019-10-08 17:24:57 +02:00
unix macOS: Don't try to install lldb debug script unless the module provides one 2018-07-20 06:40:05 +00:00
unsupported Revert "Disable Docker-based test servers on Windows temporarily" 2019-07-09 13:49:18 +02:00
wasm wasm: remove dependency on perl to find emscripten version 2020-02-17 08:22:01 +10:00
win32 MinGW: Fix build with -angle 2020-03-27 15:34:12 +01:00
winrt winrt: Update capability management to include IOT namespace 2020-03-11 12:01:09 +01:00
benchmark.prf
build_pass.prf
cmake_functions.prf
cmdline.prf Add cmdline feature to qmake 2019-02-18 07:12:14 +00:00
configure_base.prf
configure.prf
coverage.prf configure: Add switch for adding coverage info 2018-10-31 15:08:59 +00:00
create_cmake.prf Merge remote-tracking branch 'origin/5.14.1' into 5.14 2020-01-28 09:16:11 +01:00
ctest_testcase_common.prf ctest: Make cmake test pass if it has been run before 2018-11-30 11:30:13 +00:00
ctest_testcase_installed.prf
ctest_testcase.prf
dbusadaptors.prf
dbuscommon.pri
dbusinterfaces.prf
declarative_debug.prf
default_post.prf Fix handling of the DEFINES_DEBUG/DEFINES_RELEASE variables 2020-01-23 19:44:09 +01:00
default_pre.prf Fix handling of the DEFINES_DEBUG/DEFINES_RELEASE variables 2020-01-23 19:44:09 +01:00
designer_defines.prf
device_config.prf
egl.prf qmake: make CONFIG+=egl work again 2019-01-07 19:07:02 +00:00
exceptions_off.prf
exceptions.prf
exclusive_builds_post.prf Say hello to Android multi arch build in one go 2019-08-26 12:59:15 +03:00
exclusive_builds.prf Fix duplicates in QMAKE_DIR_REPLACE 2019-07-10 12:35:52 +02:00
file_copies.prf qmake: Fix COPIES for Visual Studio projects 2019-02-21 06:43:56 +00:00
gc_binaries.prf
gcov.prf
include_source_dir.prf
incredibuild_xge.prf
java.prf
lex.prf Fix parallel lex/yacc invocation for debug_and_release builds 2019-06-06 15:21:37 +02:00
link_ltcg.prf
link_pkgconfig.prf
lrelease.prf qmake: Fix handling of QM_FILES_INSTALL_PATH 2020-02-18 18:34:50 +01:00
ltcg.prf Merge remote-tracking branch 'origin/5.13' into 5.14 2019-11-13 07:21:33 +01:00
moc.prf escape literal backslashes in qmake files 2018-12-12 17:24:39 +00:00
no_debug_info.prf
plugin_bundle.prf
precompile_header.prf
qgltf.prf
qlalr.prf
qmake_use.prf Revert "configure: actually resolve libraries into full filepaths" 2019-09-13 10:47:38 +02:00
qml_debug.prf
qml_module.prf Android: install qmlfiles only for first ABI 2019-08-28 13:50:31 +03:00
qml_plugin.prf Android: Fix plugins naming 2019-10-01 11:36:24 +03:00
qmltestcase.prf Say hello to androidtestrunner 2019-06-06 15:25:07 +03:00
qt_android_deps.prf Fix ANDROID_XXXX replace qmake function call 2020-02-11 09:16:42 +00:00
qt_app.prf
qt_build_config.prf Delay the processing of the doc features to the end 2020-02-25 18:58:17 +01:00
qt_build_extra.prf
qt_build_paths.prf syncqt: fix forwarding injected headers, take ~3 2018-09-12 06:53:02 +00:00
qt_clear_installs.prf
qt_common.prf Merge remote-tracking branch 'origin/5.13' into dev 2019-06-14 13:45:18 +02:00
qt_config.prf
qt_configure.prf Fix passing FOO_LIBS variables to configure 2019-11-19 18:35:49 +01:00
qt_docs_targets.prf
qt_docs.prf Get make docs working better on macOS 2019-11-25 17:43:23 +01:00
qt_example_installs.prf qmake: Disallow building Qt examples inside the source tree 2019-10-24 10:41:29 +02:00
qt_functions.prf Fix qtPlatformTargetSuffix for darwin platforms 2020-01-23 13:37:32 +01:00
qt_helper_lib.prf Fix regression when doing a debug only build with MSVC 2020-03-03 11:18:13 +01:00
qt_installs.prf Fix install targets for generated private headers 2019-02-06 07:17:46 +00:00
qt_module_headers.prf Unbreak the -silent build 2019-07-04 13:16:52 +02:00
qt_module_pris.prf Say hello to Android multi arch build in one go 2019-08-26 12:59:15 +03:00
qt_module.prf Remove dead QMakeSourceFileInfo caching feature from QMake 2019-08-20 20:27:52 +02:00
qt_parts.prf
qt_plugin.prf Android: Fix plugins naming 2019-10-01 11:36:24 +03:00
qt_prefix_build_check.prf Fix prefix_build check for top-level builds 2019-06-05 13:02:22 +02:00
qt_targets.prf Bump copyright year 2020-01-09 14:41:53 +02:00
qt_test_helper.prf Add cmdline feature to qmake 2019-02-18 07:12:14 +00:00
qt_tool.prf
qt_tracepoints.prf Fix QMake build system to support trace points in a cross-compiled build 2019-10-09 16:20:08 +02:00
qt.prf Merge remote-tracking branch 'origin/5.12' into 5.13 2019-04-16 09:34:50 +02:00
resolve_config.prf
resolve_target.prf
resources_functions.prf Android: Make sure that it can find qrc files created via the pro file 2020-02-10 21:04:03 +00:00
resources.prf Add function for initializing plugin resources for static builds 2020-01-30 16:59:31 +01:00
rtti_off.prf qmake: enable rtti config option for g++/clang 2018-12-13 20:51:39 +00:00
rtti.prf qmake: enable rtti config option for g++/clang 2018-12-13 20:51:39 +00:00
sanitizer.prf Android: Fix sanitize_address 2019-05-29 15:03:47 +03:00
silent.prf
simd.prf SIMD: Add a haswell sub-architecture selection to our support 2018-07-09 00:18:24 +00:00
spec_post.prf
spec_pre.prf
static_runtime.prf escape literal backslashes in qmake files 2018-12-12 17:24:39 +00:00
testcase_targets.prf
testcase.prf Fix CONFIG += cmdline testcase creating app bundle paths in Makefiles 2019-11-27 22:38:02 -05:00
testcocoon.prf
testlib_defines.prf
toolchain.prf qmake: Always split QMAKE_DEFAULT_LIBDIRS using ; with clang on windows 2019-04-25 09:29:23 +00:00
uic.prf Ignore non-existent .ui file dependencies 2019-09-18 08:24:46 +02:00
use_c_linker.prf
vxworks.prf
warn_off.prf
warn_on.prf
wayland-scanner.prf waylandscanner: use --include-core-only 2018-10-05 08:15:38 +00:00
xctest.prf
yacc.prf yacc: Output the path for the move with the right directory separator 2020-01-13 11:50:02 +00:00