Parallelize LTO on Linux
This commit is contained in:
parent
36ee4977bb
commit
a3afeeac0e
1 changed files with 2 additions and 2 deletions
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue