aboutsummaryrefslogtreecommitdiff
path: root/platform/flash/detect.py
diff options
context:
space:
mode:
Diffstat (limited to 'platform/flash/detect.py')
-rw-r--r--platform/flash/detect.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/platform/flash/detect.py b/platform/flash/detect.py
index 56d2516ab..f079f21fd 100644
--- a/platform/flash/detect.py
+++ b/platform/flash/detect.py
@@ -11,7 +11,6 @@ def get_name():
def can_build():
#import os
- print(os.environ)
if (not os.environ.has_key("FLASCC_ROOT")):
return False
return True
@@ -90,6 +89,9 @@ def configure(env):
#env.Append(CXXFLAGS=['-fno-access-control'])
+ if(env["opus"]=="yes"):
+ env.opus_fixed_point="yes"
+
if (env["target"]=="release"):
env.Append(CCFLAGS=['-O4', '-ffast-math','-fomit-frame-pointer'])