mirror of
https://git.planet-casio.com/Lephenixnoir/fxsdk.git
synced 2024-12-29 13:03:37 +01:00
fxsdk: use -flto=auto by default to avoid lto-wrapper warning
This commit is contained in:
parent
09e2cf5fda
commit
e201304423
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ set(ASSETS_cg
|
||||||
fxconv_declare_assets(${ASSETS} ${ASSETS_fx} ${ASSETS_cg} WITH_METADATA)
|
fxconv_declare_assets(${ASSETS} ${ASSETS_fx} ${ASSETS_cg} WITH_METADATA)
|
||||||
|
|
||||||
add_executable(myaddin ${SOURCES} ${ASSETS} ${ASSETS_${FXSDK_PLATFORM}})
|
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)
|
target_link_libraries(myaddin Gint::Gint)
|
||||||
|
|
||||||
if("${FXSDK_PLATFORM_LONG}" STREQUAL fx9860G)
|
if("${FXSDK_PLATFORM_LONG}" STREQUAL fx9860G)
|
||||||
|
|
Loading…
Reference in a new issue