diff --git a/cmake/ConfigureCompiler.cmake b/cmake/ConfigureCompiler.cmake index fc99241d0a..33b749c0ee 100644 --- a/cmake/ConfigureCompiler.cmake +++ b/cmake/ConfigureCompiler.cmake @@ -12,7 +12,8 @@ env_set(USE_CCACHE OFF BOOL "Use ccache for compilation if available") env_set(RELATIVE_DEBUG_PATHS OFF BOOL "Use relative file paths in debug info") env_set(USE_WERROR OFF BOOL "Compile with -Werror. Recommended for local development and CI.") default_linker(_use_ld) -env_set(USE_LD "${_use_ld}" STRING "The linker to use for building: can be LD (system default, default choice), BFD, GOLD, or LLD") +env_set(USE_LD "${_use_ld}" STRING + "The linker to use for building: can be LD (system default and same as DEFAULT), BFD, GOLD, or LLD - will be LLD for Clang if available, DEFAULT otherwise") use_libcxx(_use_libcxx) env_set(USE_LIBCXX "${_use_libcxx}" BOOL "Use libc++") static_link_libcxx(_static_link_libcxx)