mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
Fixed build [#CLICKHOUSE-3396].
This commit is contained in:
parent
1dd7568fc1
commit
c69264a316
@ -90,7 +90,7 @@ endif ()
|
||||
|
||||
set (COMPILER_FLAGS "${COMPILER_FLAGS} ${CXX11_ABI_FLAGS}")
|
||||
|
||||
find_program (LINKER_PROGRAM NAMES lld gold ld)
|
||||
find_program (LINKER_PROGRAM NAMES gold ld) # TODO Add lld at front. For somewhat reason, right now gcc doesn't recognise when we type -fuse-ld=lld.
|
||||
get_filename_component (LINKER_NAME ${LINKER_PROGRAM} NAME CACHE)
|
||||
|
||||
set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fuse-ld=${LINKER_NAME}")
|
||||
|
Loading…
Reference in New Issue
Block a user