summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-11-25 00:28:03 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-11-25 00:28:03 -0300
commitb987d2113b491a4427310e23408c9a31a4f369e4 (patch)
tree2aee7bc6cdeafe08f93d5ad6dd1c4fd4831a52c1 /SConstruct
parent082e3fbb2920340cec7e7b1a3f39083325b4b341 (diff)
0theora compilation fixes
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 4 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 15db0c48b0..46edf06a42 100644
--- a/SConstruct
+++ b/SConstruct
@@ -84,6 +84,9 @@ env_base.__class__.disable_module = methods.disable_module
env_base.__class__.add_source_files = methods.add_source_files
+env_base["x86_opt_gcc"]=False
+env_base["x86_opt_vc"]=False
+
customs = ['custom.py']
profile = ARGUMENTS.get("profile", False)
@@ -304,6 +307,7 @@ if selected_platform in platform_list:
if (env['opus']=='yes'):
env.Append(CPPFLAGS=['-DOPUS_ENABLED']);
+
if (env['theora']=='yes'):
env['theoralib']='yes'
env.Append(CPPFLAGS=['-DTHEORA_ENABLED']);