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]