From eb25221b904aabce8da6b46ec9574578a3a680c6 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Fri, 18 Sep 2020 19:54:50 +0200 Subject: [PATCH] Remove thinlto, causes more issues than it helps. --- CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index eaca0ba..0cd6cfd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -63,10 +63,6 @@ endif () 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) SET(FILE_SOURCE