From cce1fd58f2fead56735e90caed120840b5ac0353 Mon Sep 17 00:00:00 2001 From: pajlada Date: Sat, 24 Dec 2022 20:06:52 +0100 Subject: [PATCH] Disable LTO by default (#4260) --- CHANGELOG.md | 2 +- CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 79fd7d50..0126c9fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,7 +17,7 @@ - Dev: Remove protocol from QApplication's Organization Domain (so changed from `https://www.chatterino.com` to `chatterino.com`). (#4256) - Dev: Ignore `WM_SHOWWINDOW` hide events, causing fewer attempted rescales. (#4198) - Dev: Migrated to C++ 20 (#4252, #4257) -- Dev: Enable LTO for main branch builds. (#4258) +- Dev: Enable LTO for main branch builds. (#4258, #4260) ## 2.4.0 diff --git a/CMakeLists.txt b/CMakeLists.txt index 9372d7de..077b0c2e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,7 +20,7 @@ option(USE_PRECOMPILED_HEADERS "Use precompiled headers" ON) option(BUILD_WITH_QT6 "Use Qt6 instead of default Qt5" OFF) option(CHATTERINO_GENERATE_COVERAGE "Generate coverage files" OFF) option(BUILD_SHARED_LIBS "" OFF) -option(CHATTERINO_LTO "Enable LTO for all targets" ON) +option(CHATTERINO_LTO "Enable LTO for all targets" OFF) option(USE_CONAN "Use conan" OFF)