mirror of https://github.com/Relintai/godot.git
Enable opus ARM optimisations only on ARM
i.e. do not enable it for x86. Fixes #2962.
This commit is contained in:
parent
e4a2458d4c
commit
99e7641f3d
|
@ -210,6 +210,7 @@ def configure(env):
|
||||||
# env.Append(CPPFLAGS=['-DANDROID_ENABLED', '-DUNIX_ENABLED','-DMPC_FIXED_POINT'])
|
# env.Append(CPPFLAGS=['-DANDROID_ENABLED', '-DUNIX_ENABLED','-DMPC_FIXED_POINT'])
|
||||||
|
|
||||||
if(env["opus"]=="yes"):
|
if(env["opus"]=="yes"):
|
||||||
|
if (env["android_arch"]=="armv6" or env["android_arch"]=="armv7"):
|
||||||
env.Append(CFLAGS=["-DOPUS_ARM_OPT"])
|
env.Append(CFLAGS=["-DOPUS_ARM_OPT"])
|
||||||
env.opus_fixed_point="yes"
|
env.opus_fixed_point="yes"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue