From 5cbb93adc7a7e2c29df431b57ac98983e8cf5bd8 Mon Sep 17 00:00:00 2001 From: Tasuku Suzuki Date: Tue, 29 Mar 2022 23:18:34 +0900 Subject: [PATCH] configure: Add mold to help Pick-to: 6.2 6.3 Task-number: QTBUG-99270 Change-Id: I08ee2b328a1dba2bf0172e5a03ddb32925401d3b Reviewed-by: Giuseppe D'Angelo Reviewed-by: Alexandru Croitor --- cmake/configure-cmake-mapping.md | 2 +- config_help.txt | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/cmake/configure-cmake-mapping.md b/cmake/configure-cmake-mapping.md index b5935dec9b8..ce90be5e954 100644 --- a/cmake/configure-cmake-mapping.md +++ b/cmake/configure-cmake-mapping.md @@ -67,7 +67,7 @@ The following table describes the mapping of configure options to CMake argument | -pch | -DBUILD_WITH_PCH=ON | | | -ltcg | -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON or | | | | -DCMAKE_INTERPROCEDURAL_OPTIMIZATION_=ON | | -| -linker [bfd,gold,lld] | -DINPUT_linker= or | | +| -linker [bfd,gold,lld,mold] | -DINPUT_linker= or | | | | -DFEATURE_use__linker=ON | | | -incredibuild-xge | n/a | This option enables remote distribution of Visual Studio | | | | custom build steps for moc, uic, and rcc. | diff --git a/config_help.txt b/config_help.txt index b63552a4c3a..fc978bb446e 100644 --- a/config_help.txt +++ b/config_help.txt @@ -137,8 +137,9 @@ Build options: -pch ................. Use precompiled headers [auto] -ltcg ................ Use Link Time Code Generation [no] - -linker [bfd,gold,lld] Force use of the GNU ld, GNU gold or LLVM/LLD linker - instead of default one (GCC and clang only) + -linker [bfd,gold,lld,mold] + Force use of the GNU ld, GNU gold, LLVM/LLD or mold + linker instead of default one (GCC and clang only) -ccache .............. Use the ccache compiler cache [no] (Unix only) -warnings-are-errors . Treat warnings as errors [no; yes if -developer-build]