Merge pull request #2963 from akien-mga/pr-opus-arm-opt
Enable opus ARM optimisations only on ARM
This commit is contained in:
commit
e4e7e8f396
1 changed files with 2 additions and 1 deletions
|
@ -211,6 +211,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 a new issue