From 27b2b057ab919322aa4e01c606b9d67e3d94e338 Mon Sep 17 00:00:00 2001 From: Aidan Case Date: Mon, 25 Mar 2024 17:12:13 -0500 Subject: [PATCH] remove lto --- CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 64a5a20ec6..35571013a1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -284,10 +284,6 @@ if (NOT MSVC AND ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_CXX_COMP set(CMAKE_CXX_ARCHIVE_APPEND " rUT ") set(CMAKE_C_ARCHIVE_APPEND " rUT ") endif() - # Maybe size reduction at cost of compile times? - if(FLATPAK) - set(CMAKE_INTERPROCEDURAL_OPTIMIZATION TRUE) - endif() endif() # Bit of a hack for flatpak building: compress the debug info with zstd to save space in CI