From 276bd292715abe9c04c6af9bd9d77c592fbb226c Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 25 Sep 2015 19:12:42 +0100 Subject: Try to fix build on debian unstable. --- wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index d8da7fb..059f4fc 100644 --- a/wscript +++ b/wscript @@ -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 -- cgit v1.2.3