1
0
Fork 0

Parallelize LTO on Linux

This commit is contained in:
Ilya Fedin 2022-11-03 13:34:50 +04:00 committed by John Preston
parent 36ee4977bb
commit a3afeeac0e

View file

@ -36,11 +36,11 @@ if (DESKTOP_APP_SPECIAL_TARGET)
$<$<NOT:$<CONFIG:Debug>>:-Ofast> $<$<NOT:$<CONFIG:Debug>>:-Ofast>
-Werror -Werror
$<$<NOT:$<CONFIG:Debug>>:-g> $<$<NOT:$<CONFIG:Debug>>:-g>
$<$<NOT:$<CONFIG:Debug>>:-flto> $<$<NOT:$<CONFIG:Debug>>:-flto=auto>
) )
target_link_options(common_options target_link_options(common_options
INTERFACE INTERFACE
$<$<NOT:$<CONFIG:Debug>>:-flto> $<$<NOT:$<CONFIG:Debug>>:-flto=auto>
$<$<NOT:$<CONFIG:Debug>>:-fuse-linker-plugin> $<$<NOT:$<CONFIG:Debug>>:-fuse-linker-plugin>
) )
endif() endif()