You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Unify bits, arch, and android_arch into env["arch"]
Fully removes the `bits` option and adapts the code that relied on it. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
This commit is contained in:
committed by
Rémi Verschelde
parent
8916949b50
commit
27b0f18275
@@ -370,15 +370,15 @@ bool OS_Android::_check_internal_feature_support(const String &p_feature) {
|
||||
return true;
|
||||
}
|
||||
#if defined(__aarch64__)
|
||||
if (p_feature == "arm64-v8a") {
|
||||
if (p_feature == "arm64-v8a" || p_feature == "arm64") {
|
||||
return true;
|
||||
}
|
||||
#elif defined(__ARM_ARCH_7A__)
|
||||
if (p_feature == "armeabi-v7a" || p_feature == "armeabi") {
|
||||
if (p_feature == "armeabi-v7a" || p_feature == "armeabi" || p_feature == "arm32") {
|
||||
return true;
|
||||
}
|
||||
#elif defined(__arm__)
|
||||
if (p_feature == "armeabi") {
|
||||
if (p_feature == "armeabi" || p_feature == "arm") {
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user