summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-12-09 13:32:47 +0000
committerCarl Hetherington <cth@carlh.net>2012-12-09 13:32:47 +0000
commit2a5408a6bc2e0f9d3b64238fdf8acac7729a8943 (patch)
tree54a74c9a7dec2aa37e70b0551087a4ab46926ef0 /wscript
parent1fc1760141963856baf9d41d03a65eca015acf3f (diff)
Use -O2 rather than -O3, as an experiment, really.
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 3 insertions, 1 deletions
diff --git a/wscript b/wscript
index 37d6b48d..5dba2b5e 100644
--- 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