summaryrefslogtreecommitdiffstats
path: root/platform/javascript/detect.py
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2015-10-02 14:20:50 -0300
committerGeorge Marques <george@gmarqu.es>2015-10-02 14:25:38 -0300
commit6e87314d83a9beab56fdd115277e230ef683c53d (patch)
tree31f1ec4669cf2e54162d4b68ba2edbea95751ee6 /platform/javascript/detect.py
parent2c45ee5e1ce939bcef32129ac01944f3995269f4 (diff)
downloadredot-engine-6e87314d83a9beab56fdd115277e230ef683c53d.tar.gz
Add support for Opus audio format
Diffstat (limited to 'platform/javascript/detect.py')
-rw-r--r--platform/javascript/detect.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/javascript/detect.py b/platform/javascript/detect.py
index 104cede3f1..ec21bf6ee4 100644
--- a/platform/javascript/detect.py
+++ b/platform/javascript/detect.py
@@ -76,6 +76,9 @@ def configure(env):
#env.Append(CCFLAGS=['-D_DEBUG', '-Wall', '-g4', '-DDEBUG_ENABLED'])
env.Append(CPPFLAGS=['-DDEBUG_MEMORY_ALLOC'])
+ if(env["opus"]=="yes"):
+ env.opus_fixed_point="yes"
+
env.Append(CPPFLAGS=["-fno-exceptions",'-DNO_SAFE_CAST','-fno-rtti'])
env.Append(CPPFLAGS=['-DJAVASCRIPT_ENABLED', '-DUNIX_ENABLED', '-DNO_FCNTL','-DMPC_FIXED_POINT','-DTYPED_METHOD_BIND','-DNO_THREADS'])
env.Append(CPPFLAGS=['-DGLES2_ENABLED'])