From 0eb27f5e9dea74a33a8e433fe388e04c8033998f Mon Sep 17 00:00:00 2001 From: DepressedTWM Date: Tue, 28 Jul 2026 10:51:04 +0400 Subject: [PATCH] fast fix --- CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9e368c8..0865f27 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -342,10 +342,7 @@ else() add_link_options(-flto) endif() - if(WIN32) - add_compile_options(-flto) - add_link_options(-flto) - elseif(LINUX) + if(LINUX) add_compile_options(-fno-plt) endif()