Use -O2 rather than -O3, as an experiment, really.
[libdcp.git] / wscript
diff --git a/wscript b/wscript
index 37d6b48d07ff4da7cf51a43182c49927b1eef337..5dba2b5e68fbec4250da68ec578d059a2f7bf346 100644 (file)
--- a/wscript
+++ b/wscript
@@ -50,7 +50,9 @@ def configure(conf):
     if conf.options.enable_debug:
         conf.env.append_value('CXXFLAGS', '-g')
     else:
-        conf.env.append_value('CXXFLAGS', '-O3')
+        # Somewhat experimental use of -O2 rather than -O3 to see if
+        # Windows builds are any more reliable
+        conf.env.append_value('CXXFLAGS', '-O2')
 
     conf.check_cxx(fragment = """
                              #include <boost/filesystem.hpp>\n