aboutsummaryrefslogtreecommitdiff
path: root/platform/android/detect.py
diff options
context:
space:
mode:
authorGeorge Marques2015-10-02 14:20:50 -0300
committerGeorge Marques2015-10-02 14:25:38 -0300
commit6e87314d83a9beab56fdd115277e230ef683c53d (patch)
tree31f1ec4669cf2e54162d4b68ba2edbea95751ee6 /platform/android/detect.py
parent2c45ee5e1ce939bcef32129ac01944f3995269f4 (diff)
downloadgodot-6e87314d83a9beab56fdd115277e230ef683c53d.tar.gz
godot-6e87314d83a9beab56fdd115277e230ef683c53d.tar.zst
godot-6e87314d83a9beab56fdd115277e230ef683c53d.zip
Diffstat (limited to 'platform/android/detect.py')
-rw-r--r--platform/android/detect.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/android/detect.py b/platform/android/detect.py
index fce1fe3ed..c0c091b20 100644
--- a/platform/android/detect.py
+++ b/platform/android/detect.py
@@ -198,6 +198,10 @@ def configure(env):
env.Append(CPPFLAGS=['-DANDROID_ENABLED', '-DUNIX_ENABLED', '-DNO_FCNTL','-DMPC_FIXED_POINT'])
# env.Append(CPPFLAGS=['-DANDROID_ENABLED', '-DUNIX_ENABLED','-DMPC_FIXED_POINT'])
+ if(env["opus"]=="yes"):
+ env.Append(CFLAGS=["-DOPUS_ARM_OPT"])
+ env.opus_fixed_point="yes"
+
if (env['android_stl']=='yes'):
#env.Append(CCFLAGS=[env["ANDROID_NDK_ROOT"]+"/sources/cxx-stl/system/include"])
env.Append(CPPPATH=[env["ANDROID_NDK_ROOT"]+"/sources/cxx-stl/gnu-libstdc++/4.4.3/include"])