1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-14 13:41:12 +00:00

Merge pull request #2963 from akien-mga/pr-opus-arm-opt

Enable opus ARM optimisations only on ARM
This commit is contained in:
Rémi Verschelde
2015-12-01 10:18:41 +01:00

View File

@@ -211,7 +211,8 @@ def configure(env):
# env.Append(CPPFLAGS=['-DANDROID_ENABLED', '-DUNIX_ENABLED','-DMPC_FIXED_POINT'])
if(env["opus"]=="yes"):
env.Append(CFLAGS=["-DOPUS_ARM_OPT"])
if (env["android_arch"]=="armv6" or env["android_arch"]=="armv7"):
env.Append(CFLAGS=["-DOPUS_ARM_OPT"])
env.opus_fixed_point="yes"
if (env['android_stl']=='yes'):