Remove thinlto, causes more issues than it helps.
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
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…
Reference in New Issue