Pass optimisations to CMake via build.gradle.kts

This passes compiler flags from Gradle to CMake
This commit is contained in:
Mike Lothian 2023-07-17 15:37:59 +01:00 committed by GitHub
parent 2461c78e3f
commit bb775ed693
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -154,6 +154,9 @@ android {
"-DYUZU_ENABLE_LTO=ON"
)
cFlags("-O3", "-march=armv8.7a", "-pipe", "-flto=thin")
cppFlags("-O3", "-march=armv8.7a", "-pipe", "-flto=thin")
abiFilters("arm64-v8a", "x86_64")
}
}