From efd8c20d2677f9d0efeaa9d9b20cf3de2d66905e Mon Sep 17 00:00:00 2001 From: Alug Date: Sun, 5 Apr 2026 18:26:16 +0200 Subject: [PATCH] enable lto by default on makefile builds change flag to NOLTO to disable lto at this point we shouldnt have any issues anymore since the utter crapton of bugfixes --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index 372594384..c930f87ed 100644 --- a/src/Makefile +++ b/src/Makefile @@ -93,7 +93,7 @@ # NOLDWARNING=1 - ? # NOSDLMAIN=1 - ? # SDLMAIN=1 - ? -# USELTO=1 - Enable building with LTO. +# NOLTO=1 - Disable link time optimizations # # Library configuration flags: # Everything here is an override. @@ -260,7 +260,7 @@ debug_opts=-D_DEBUG else # build a normal optimized version debug_opts=-DNDEBUG opts+=-O3 -ifdef USELTO +ifndef NOLTO # compile with LTO opts+=-flto=auto libs+=-flto=auto