From 8bf1dc6ffdd2029d013d745e3f884a8d76c954ef Mon Sep 17 00:00:00 2001 From: Edoardo Lolletti Date: Thu, 11 Jul 2024 20:10:20 +0200 Subject: [PATCH] Disable yet another time lto On linux atm it makes the core crash when Duel.ConfirmCards is called --- premake5.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/premake5.lua b/premake5.lua index 281bf3ac..476a89a8 100644 --- a/premake5.lua +++ b/premake5.lua @@ -114,9 +114,9 @@ project "ocgcore" project "ocgcoreshared" kind "SharedLib" flags "NoImportLib" - filter "configurations:Release" - flags "LinkTimeOptimization" - filter {} +-- filter "configurations:Release" +-- flags "LinkTimeOptimization" +-- filter {} targetname "ocgcore" defines "OCGCORE_EXPORT_FUNCTIONS" staticruntime "on"