compile with LTO

This commit is contained in:
cy384 2020-08-22 15:15:36 -04:00
parent e8ba3bdd97
commit 1ae0c0848f
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ add_application(ssheven CREATOR "SSH7" ssheven.c ssheven-console.c ssheven.r)
set_target_properties(ssheven PROPERTIES COMPILE_OPTIONS -ffunction-sections)
add_compile_options(-O2)
add_compile_options(-O2 -flto)
IF(CMAKE_SYSTEM_NAME MATCHES Retro68)
# for 68k