Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Reviewed-by: Timur Pocheptsov <[email protected]> (cherry picked from commit 6a60192) Reviewed-by: Tor Arne Vestbø <[email protected]>
- Loading branch information