From b85c22c409fa37215d08b33666d86fcbe208057a Mon Sep 17 00:00:00 2001 From: J Reece Wilson Date: Fri, 25 Aug 2023 13:34:34 +0100 Subject: [PATCH] [*] Fix LTO on Linux --- Core/JSON/jsonProjectHandlers.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/Core/JSON/jsonProjectHandlers.lua b/Core/JSON/jsonProjectHandlers.lua index 19b1cf0..dc78690 100644 --- a/Core/JSON/jsonProjectHandlers.lua +++ b/Core/JSON/jsonProjectHandlers.lua @@ -463,6 +463,7 @@ local function auBlockProjectKeyLtoNotMsvc(processor, value) --linkoptions "-Wl,-mllvm,-threads=4" buildoptions "-flto" linkoptions "-flto" + linkoptions "-O3" auFilter{} end end