mirror of
https://codeberg.org/yuzu-emu/yuzu.git
synced 2025-12-16 12:09:04 +00:00
Pass optimisations to CMake via build.gradle.kts
This passes compiler flags from Gradle to CMake
This commit is contained in:
parent
150f59256b
commit
94e793150a
@ -28,7 +28,7 @@ android {
|
||||
namespace = "org.yuzu.yuzu_emu"
|
||||
|
||||
compileSdkVersion = "android-34"
|
||||
ndkVersion = "26.3.11579264"
|
||||
ndkVersion = "28.0.12674087"
|
||||
|
||||
buildFeatures {
|
||||
viewBinding = true
|
||||
@ -171,6 +171,20 @@ android {
|
||||
"-DCMAKE_EXPORT_COMPILE_COMMANDS=ON"
|
||||
)
|
||||
|
||||
cFlags(
|
||||
"-O3",
|
||||
"-march=armv8.7a",
|
||||
"-pipe",
|
||||
"-flto=thin"
|
||||
)
|
||||
|
||||
cppFlags(
|
||||
"-O3",
|
||||
"-march=armv8.7a",
|
||||
"-pipe",
|
||||
"-flto=thin"
|
||||
)
|
||||
|
||||
abiFilters("arm64-v8a", "x86_64")
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user