Pass optimisations to CMake via build.gradle.kts
This passes compiler flags from Gradle to CMake
This commit is contained in:
parent
2461c78e3f
commit
bb775ed693
1 changed files with 3 additions and 0 deletions
|
@ -154,6 +154,9 @@ android {
|
||||||
"-DYUZU_ENABLE_LTO=ON"
|
"-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")
|
abiFilters("arm64-v8a", "x86_64")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue