diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-12-16 13:25:43 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-01-20 22:02:11 +0000 |
commit | f6e9521ef489a9c068bca92c7908597f8965581e (patch) | |
tree | 16058385ef1822fc25b7bc6c66957c659c484ac5 /conanfile.py | |
parent | ac782945fc609901d758fc7997a9f86f3662a92e (diff) |
CMake: Add support building Qt with the 'mold' linker
The mold linker is a new linker for Linux that provides faster link
times compared to BFD ld, ld.gold and lld.
It can be found at https://github.com/rui314/mold
To build Qt with mold, ensure that the binary in your PATH and then
configure Qt with with either
cmake /path/to/qtbase -DINPUT_linker=mold
or
/path/to/qtbase/configure --linker mold
The change was tested with gcc 9, clang 10, clang 12, mold
1.0.0. Only qtbase and qtdeclarative (and dependencies) were tested.
Task-number: QTBUG-99270
Change-Id: I2e64a1f4257c37ff5b64a9326e548b9b46e07c80
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
(cherry picked from commit 158287c726b9ee7031c6e832dc159d02473e34d7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'conanfile.py')
0 files changed, 0 insertions, 0 deletions