Use LLD as linker when using clang.
continuous-integration/drone/push Build is passing

Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
This commit is contained in:
Deukhoofd committed 2020-09-21 12:51:45 +02:00
1 parent a5d7db2077
commit 5b10dac514
1 file changed
+4
+4
View File
@@ -33,6 +33,10 @@ if (SHARED)
set(LIBTYPE SHARED)
endif (SHARED)
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
add_link_options(-fuse-ld=lld)
endif ()
if (LEVEL_SIZE STREQUAL "8")
add_definitions(-DLEVEL_U8)
message(STATUS "Using level size of 8")