From a3801d4a01fda8f9a0801b9eb17919e6fd92c590 Mon Sep 17 00:00:00 2001 From: Thomas Rohloff Date: Fri, 18 Jul 2025 11:58:42 +0200 Subject: [PATCH] Enable link-time optimization LTO should help optimizing spaghetti code better. This caused a lot of crashes in the past but looks stable with the latest code fixes in master, so I think it's time to enable it. Signed-off-by: Thomas Rohloff --- CMakeLists.txt | 1 + doxygen-awesome-css | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d076c5e28..751c5e778 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -108,6 +108,7 @@ if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU|Clang|AppleClang") -Wno-narrowing \ -Wno-missing-braces \ -ffast-math \ + -flto=auto \ -pipe" ) diff --git a/doxygen-awesome-css b/doxygen-awesome-css index 28ed396de..9760c3001 160000 --- a/doxygen-awesome-css +++ b/doxygen-awesome-css @@ -1 +1 @@ -Subproject commit 28ed396de19cd3d803bcb483dceefdb6d03b1b2b +Subproject commit 9760c30014131f4eacb8e96f15f3869c7bc5dd8c