CMakeLists.txt: use -flto=auto for potential parallel link

This commit is contained in:
veclav talica 2024-10-07 13:21:43 +03:00
parent a75dda2736
commit 6cbfc8a5fb

View File

@ -153,7 +153,7 @@ function(give_options_without_warnings target)
set(BUILD_FLAGS_RELEASE set(BUILD_FLAGS_RELEASE
-O3 -O3
-flto -flto=auto
-mavx -mavx2 -mavx -mavx2
-Wl,--gc-sections -Wl,--gc-sections
-fdata-sections -fdata-sections