Remove thinlto, causes more issues than it helps.
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
aaaad658b0
commit
2bb1f2ed4a
@ -31,10 +31,6 @@ find_package(Threads REQUIRED)
|
|||||||
set(LIBTYPE STATIC)
|
set(LIBTYPE STATIC)
|
||||||
if (SHARED)
|
if (SHARED)
|
||||||
set(LIBTYPE SHARED)
|
set(LIBTYPE SHARED)
|
||||||
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
|
||||||
add_compile_options(-flto=thin)
|
|
||||||
add_link_options(-flto=thin)
|
|
||||||
endif ()
|
|
||||||
endif (SHARED)
|
endif (SHARED)
|
||||||
|
|
||||||
if (LEVEL_SIZE STREQUAL "8")
|
if (LEVEL_SIZE STREQUAL "8")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user