From 4f49633f7ad8629d2ab1c84e4b795703ef371e75 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 27 Feb 2017 20:30:01 +0100 Subject: Update waf and fix C++11 flags --- wscript | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index e6154c03..4b5185a1 100644 --- a/wscript +++ b/wscript @@ -57,9 +57,7 @@ def configure(conf): conf.load('python') autowaf.configure(conf) - - conf.check_cxx(cxxflags=["-std=c++0x"]) - conf.env.append_unique('CXXFLAGS', ['-std=c++0x']) + autowaf.set_cxx11_mode(conf) conf.check_cxx(header_name='boost/format.hpp') conf.check_cxx(header_name='boost/shared_ptr.hpp') -- cgit v1.2.1