aboutsummaryrefslogtreecommitdiff
path: root/platform/android/detect.py
diff options
context:
space:
mode:
authorJuan Linietsky2015-10-13 01:19:32 -0300
committerJuan Linietsky2015-10-13 01:19:32 -0300
commitb3cda43a0fb49e1cb9c8414077a23fa4b61ede38 (patch)
tree1fee133b2fbc6f2bade96cc9914a449cbb9dbe1e /platform/android/detect.py
parent52e756752e1db9e4cf7c5bb7e92d44995ad674c4 (diff)
parentaad2bbdb6fb7c8217d7e75480b38e45f00cb3abd (diff)
downloadgodot-b3cda43a0fb49e1cb9c8414077a23fa4b61ede38.tar.gz
godot-b3cda43a0fb49e1cb9c8414077a23fa4b61ede38.tar.zst
godot-b3cda43a0fb49e1cb9c8414077a23fa4b61ede38.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 59bbcd63c..c36e35484 100644
--- a/platform/android/detect.py
+++ b/platform/android/detect.py
@@ -196,6 +196,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"])