From d9a7d225e4dd7c4736a834d8d6beaee38e10663f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 3 Feb 2013 02:43:47 +0000 Subject: Check for c++0x compiler flag before adding to environment. This should fix the partial group build on systems which don't support c++0x. git-svn-id: http://svn.drobilla.net/lad/trunk/machina@5036 a436a847-0d15-0410-975c-d299462d15a1 --- wscript | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wscript b/wscript index dde2b4b..5f74608 100644 --- a/wscript +++ b/wscript @@ -23,6 +23,8 @@ def configure(conf): conf.load('compiler_cxx') conf.line_just = 37 autowaf.configure(conf) + + conf.check_cxx(cxxflags=["-std=c++0x"]) conf.env.append_unique('CXXFLAGS', ['-std=c++0x']) autowaf.display_header('Machina Configuration') -- cgit v1.2.1