Use LLD as linker when we build with Clang.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2020-09-21 12:37:34 +02:00
parent 514186a1e6
commit 49ca3d0426
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,9 @@ if (SHARED)
set(LIBTYPE SHARED)
endif (SHARED)
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
add_link_options(-fuse-ld=lld)
endif ()
if (NOT WINDOWS)
# Include debug symbols in all linux builds