diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-11-27 00:10:54 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-11-27 00:10:54 +0000 |
| commit | a32ff86af235f64ffca5bbc5159ddc7be7638a51 (patch) | |
| tree | 4505a2d22f1b4b54e64312e355e411c9612cb23f | |
| parent | c359a5fe7dd9f1ff7c261b32a0e1ec08f1bbc606 (diff) | |
Use -O2 rather than -O3 to try to work around weird win32 crashes.
| -rw-r--r-- | wscript | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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) |
