From 6cbfc8a5fbc5ec1184b896147b0e31d3813e7bdc Mon Sep 17 00:00:00 2001 From: veclavtalica Date: Mon, 7 Oct 2024 13:21:43 +0300 Subject: [PATCH] CMakeLists.txt: use -flto=auto for potential parallel link --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3379da6..d977eb1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -153,7 +153,7 @@ function(give_options_without_warnings target) set(BUILD_FLAGS_RELEASE -O3 - -flto + -flto=auto -mavx -mavx2 -Wl,--gc-sections -fdata-sections