From 2b4b9d1ceaecf9940c5a28c3e69327059d0017ff Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 27 Feb 2017 20:33:08 +0100 Subject: Update waf and fix C++11 flags --- wscript | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index 08548a9..9f4c076 100644 --- a/wscript +++ b/wscript @@ -47,11 +47,9 @@ def configure(conf): conf.load('compiler_c') conf.load('compiler_cxx') autowaf.configure(conf) - autowaf.set_c99_mode(conf) autowaf.display_header('Suil Configuration') - - if conf.check_cxx(cxxflags=["-std=c++0x"]): - conf.env.append_unique('CXXFLAGS', ['-std=c++0x']) # for Qt + autowaf.set_c99_mode(conf) + autowaf.set_cxx11_mode(conf) conf.env.BUILD_SHARED = not Options.options.no_shared conf.env.BUILD_STATIC = Options.options.static -- cgit v1.2.1