diff options
| author | Rémi Verschelde | 2015-12-01 10:18:41 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2015-12-01 10:18:41 +0100 |
| commit | e4e7e8f396bd4f2fe9b7d6807bd598ce0b53c963 (patch) | |
| tree | 3c4b89e7f2ed7d827a208e8bea2ff097f90ff1eb /platform/android/detect.py | |
| parent | 3aa0d0e9fda53756864d23c3f323903e49d0a001 (diff) | |
| parent | 99e7641f3dc244004dfaca9cb1a62a43709a26ed (diff) | |
| download | godot-e4e7e8f396bd4f2fe9b7d6807bd598ce0b53c963.tar.gz godot-e4e7e8f396bd4f2fe9b7d6807bd598ce0b53c963.tar.zst godot-e4e7e8f396bd4f2fe9b7d6807bd598ce0b53c963.zip | |
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 fe83798c5..66097a514 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'): |
