From 12f7d6b0438c94dd87f773a92eee3453d971846e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 27 Feb 2017 20:29:28 +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 e3352fe..7a0a88d 100644 --- a/wscript +++ b/wscript @@ -38,9 +38,7 @@ def configure(conf): autowaf.configure(conf) autowaf.display_header('Ganv Configuration') autowaf.set_c99_mode(conf) - - conf.check_cxx(cxxflags=["-std=c++0x"]) - conf.env.append_unique('CXXFLAGS', ['-std=c++0x']) + autowaf.set_cxx11_mode(conf) autowaf.check_pkg(conf, 'gtk+-2.0', uselib_store='GTK', atleast_version='2.0.0', mandatory=True) -- cgit v1.2.1