From 514186a1e62a50731884a82cb055899db2f08edb Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Fri, 18 Sep 2020 19:32: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 12285ef..5e98c46 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,10 +16,6 @@ option(PRETTYTRACES "Whether full stacktraces should be included. Note that this 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)