From 2bb1f2ed4a33b027e03c7bb28839615519870299 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Fri, 18 Sep 2020 19:46:10 +0200 Subject: [PATCH] Remove thinlto, causes more issues than it helps. Signed-off-by: Deukhoofd --- CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 15ecaca..de675be 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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")