mirror of https://github.com/cy384/ssheven.git
compile with LTO
This commit is contained in:
parent
e8ba3bdd97
commit
1ae0c0848f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue