diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2015-12-01 10:18:41 +0100 |
---|---|---|
committer | Rémi Verschelde <remi@verschelde.fr> | 2015-12-01 10:18:41 +0100 |
commit | e4e7e8f396bd4f2fe9b7d6807bd598ce0b53c963 (patch) | |
tree | 3c4b89e7f2ed7d827a208e8bea2ff097f90ff1eb /platform/android/detect.py | |
parent | 3aa0d0e9fda53756864d23c3f323903e49d0a001 (diff) | |
parent | 99e7641f3dc244004dfaca9cb1a62a43709a26ed (diff) |
Merge pull request #2963 from akien-mga/pr-opus-arm-opt
Enable opus ARM optimisations only on ARM
Diffstat (limited to 'platform/android/detect.py')
-rw-r--r-- | platform/android/detect.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/android/detect.py b/platform/android/detect.py index fe83798c56..66097a5149 100644 --- a/platform/android/detect.py +++ b/platform/android/detect.py @@ -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'): |