17 lines
475 B
Diff
17 lines
475 B
Diff
--- a/cmake/Toolset.cmake 2020-02-04 17:00:17.000000000 +0100
|
|
+++ b/cmake/Toolset.cmake 2020-02-09 22:11:19.914735934 +0100
|
|
@@ -45,10 +45,10 @@
|
|
find_program(GOLD_PATH NAMES "ld.gold" "gold")
|
|
|
|
if(NOT LINKER_NAME)
|
|
- if(LLD_PATH)
|
|
- set(LINKER_NAME "lld")
|
|
- elseif(GOLD_PATH)
|
|
+ if(GOLD_PATH)
|
|
set(LINKER_NAME "gold")
|
|
+ elseif(LLD_PATH)
|
|
+ set(LINKER_NAME "lld")
|
|
else()
|
|
message(STATUS "Use generic 'ld' as a linker")
|
|
endif()
|