summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/wscript b/wscript
index d6cfd45c6..fe90dc1ed 100644
--- a/wscript
+++ b/wscript
@@ -50,7 +50,10 @@ def configure(conf):
if conf.options.enable_debug:
conf.env.append_value('CXXFLAGS', ['-g', '-DDVDOMATIC_DEBUG'])
else:
- conf.env.append_value('CXXFLAGS', '-O3')
+ # It seems that -O3 possibly causes weird problems with crashes
+ # inside boost::signals2 on Windows 32-bit. Didn't quite get
+ # to the bottom of it, though.
+ conf.env.append_value('CXXFLAGS', '-O2')
conf.check_cfg(package = 'libavformat', args = '--cflags --libs', uselib_store = 'AVFORMAT', mandatory = True)
conf.check_cfg(package = 'libavfilter', args = '--cflags --libs', uselib_store = 'AVFILTER', mandatory = True)