Use -O2 rather than -O3, as an experiment, really.
authorCarl Hetherington <cth@carlh.net>
Sun, 9 Dec 2012 13:32:47 +0000 (13:32 +0000)
committerCarl Hetherington <cth@carlh.net>
Sun, 9 Dec 2012 13:32:47 +0000 (13:32 +0000)
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