android: enable LTO

This commit is contained in:
Liam 2023-04-24 11:18:13 -04:00 committed by bunnei
parent 83dae1739c
commit 8b4c5a9939
1 changed files with 2 additions and 1 deletions

View File

@ -131,7 +131,8 @@ android {
"-DBUNDLE_SPEEX=ON",
"-DANDROID_ARM_NEON=true", // cryptopp requires Neon to work
"-DYUZU_USE_BUNDLED_VCPKG=ON",
"-DYUZU_USE_BUNDLED_FFMPEG=ON"
"-DYUZU_USE_BUNDLED_FFMPEG=ON",
"-DYUZU_ENABLE_LTO=ON"
)
abiFilters("arm64-v8a", "x86_64")