fxsdk: use -flto=auto by default to avoid lto-wrapper warning

This commit is contained in:
Lephenixnoir 2024-07-09 21:13:31 +02:00
parent 09e2cf5fda
commit e201304423
No known key found for this signature in database
GPG key ID: 1BBA026E13FC0495

View file

@ -30,7 +30,7 @@ set(ASSETS_cg
fxconv_declare_assets(${ASSETS} ${ASSETS_fx} ${ASSETS_cg} WITH_METADATA)
add_executable(myaddin ${SOURCES} ${ASSETS} ${ASSETS_${FXSDK_PLATFORM}})
target_compile_options(myaddin PRIVATE -Wall -Wextra -Os -g -flto)
target_compile_options(myaddin PRIVATE -Wall -Wextra -Os -g -flto=auto)
target_link_libraries(myaddin Gint::Gint)
if("${FXSDK_PLATFORM_LONG}" STREQUAL fx9860G)