mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
Don't try to guess linker on non-Linux builds
This commit is contained in:
parent
ff91b3f317
commit
0c757decbe
@ -32,8 +32,8 @@ else ()
|
||||
find_program (GOLD_PATH NAMES "ld.gold" "gold")
|
||||
endif ()
|
||||
|
||||
if (NOT OS_FREEBSD)
|
||||
# We prefer LLD linker over Gold or BFD.
|
||||
if (OS_LINUX)
|
||||
# We prefer LLD linker over Gold or BFD on Linux.
|
||||
if (NOT LINKER_NAME)
|
||||
if (LLD_PATH)
|
||||
if (COMPILER_GCC)
|
||||
|
Loading…
Reference in New Issue
Block a user