Use LLD as linker when using clang.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
This commit is contained in:
parent
a5d7db2077
commit
5b10dac514
|
@ -33,6 +33,10 @@ if (SHARED)
|
||||||
set(LIBTYPE SHARED)
|
set(LIBTYPE SHARED)
|
||||||
endif (SHARED)
|
endif (SHARED)
|
||||||
|
|
||||||
|
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||||
|
add_link_options(-fuse-ld=lld)
|
||||||
|
endif ()
|
||||||
|
|
||||||
if (LEVEL_SIZE STREQUAL "8")
|
if (LEVEL_SIZE STREQUAL "8")
|
||||||
add_definitions(-DLEVEL_U8)
|
add_definitions(-DLEVEL_U8)
|
||||||
message(STATUS "Using level size of 8")
|
message(STATUS "Using level size of 8")
|
||||||
|
|
Loading…
Reference in New Issue