diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-09-25 19:12:42 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-09-25 19:12:42 +0100 |
| commit | 276bd292715abe9c04c6af9bd9d77c592fbb226c (patch) | |
| tree | 7a4a790080f0982cb7baaf244cd9742155dda180 /wscript | |
| parent | 9977612bb52da625e521232b4d2a0063d08453f7 (diff) | |
Try to fix build on debian unstable.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -10,7 +10,7 @@ def options(opt): def configure(conf): conf.load('compiler_cxx') - conf.env.append_value('CXXFLAGS', ['-Wall', '-Wextra', '-O2']) + conf.env.append_value('CXXFLAGS', ['-Wall', '-Wextra', '-O2', '-std=c++98']) conf.env.TARGET_WINDOWS = conf.options.target_windows conf.env.STATIC = conf.options.static @@ -32,7 +32,7 @@ def configure(conf): libpath='/usr/local/lib', lib=['boost_filesystem%s' % boost_lib_suffix, 'boost_system%s' % boost_lib_suffix], uselib_store='BOOST_FILESYSTEM') - + if not conf.options.disable_tests: conf.check_cxx(fragment=""" #define BOOST_TEST_MODULE Config test\n |
