Use LLD as linker when using clang.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
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…
x
Reference in New Issue
Block a user