Remove thinlto, causes more issues than it helps.
continuous-integration/drone/push Build is passing Details

Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
This commit is contained in:
Deukhoofd 2020-09-18 19:46:10 +02:00
parent aaaad658b0
commit 2bb1f2ed4a
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 0 additions and 4 deletions

View File

@ -31,10 +31,6 @@ find_package(Threads REQUIRED)
set(LIBTYPE STATIC)
if (SHARED)
set(LIBTYPE SHARED)
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
add_compile_options(-flto=thin)
add_link_options(-flto=thin)
endif ()
endif (SHARED)
if (LEVEL_SIZE STREQUAL "8")