Skip to content

Commit

Permalink
bug cmake: use correct lld after re-configure
Browse files Browse the repository at this point in the history
commit_hash:51584c108f4abb0c9bec404fed39a5d4f3ef5a4a
  • Loading branch information
Anton3 committed Dec 28, 2024
1 parent f929bf1 commit 21f05d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/SetupLinker.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ endif()

set(USERVER_USE_LD "${USERVER_USE_LD_DEFAULT}" CACHE STRING "Linker to use e.g. gold, lld")

if (USERVER_USE_LD AND NOT CUSTOM_LD_OK)
if (USERVER_USE_LD)
execute_process(COMMAND "${CMAKE_C_COMPILER}" "-fuse-ld=${USERVER_USE_LD}" -Wl,--version
ERROR_QUIET OUTPUT_VARIABLE LD_VERSION)

Expand Down

0 comments on commit 21f05d1

Please sign in to comment.