Skip to content

Commit

Permalink
*: try not to use lld as default linker in macos (#5451)
Browse files Browse the repository at this point in the history
ref #5368
  • Loading branch information
solotzg authored Jul 22, 2022
1 parent 6a8c26c commit 3ad743b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ endif()
find_program (LLD_PATH NAMES "lld${COMPILER_POSTFIX}" "lld")
find_program (GOLD_PATH NAMES "gold")

if (NOT LINKER_NAME)
if (NOT LINKER_NAME AND NOT APPLE)
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND LLD_PATH)
set (LINKER_NAME "lld")
elseif (GOLD_PATH)
Expand Down

0 comments on commit 3ad743b

Please sign in to comment.