You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-19 14:31:59 +00:00
Fix crash on Android-x86
This commit is contained in:
@@ -175,6 +175,8 @@ def configure(env):
|
|||||||
if env['android_arch'] == 'x86':
|
if env['android_arch'] == 'x86':
|
||||||
can_vectorize = True
|
can_vectorize = True
|
||||||
target_opts = ['-target', 'i686-none-linux-android']
|
target_opts = ['-target', 'i686-none-linux-android']
|
||||||
|
# The NDK adds this if targeting API < 21, so we can drop it when Godot targets it at least
|
||||||
|
env.Append(CPPFLAGS=['-mstackrealign'])
|
||||||
elif env["android_arch"] == "armv6":
|
elif env["android_arch"] == "armv6":
|
||||||
can_vectorize = False
|
can_vectorize = False
|
||||||
target_opts = ['-target', 'armv6-none-linux-androideabi']
|
target_opts = ['-target', 'armv6-none-linux-androideabi']
|
||||||
|
|||||||
Reference in New Issue
Block a user