From 2ee2037578f6e3f223aa260bf4dfe9ce67bae396 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/patchage@5036 a436a847-0d15-0410-975c-d299462d15a1 --- wscript | 2 ++ 1 file changed, 2 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index 0acd0d4..8764a20 100644 --- a/wscript +++ b/wscript @@ -42,6 +42,8 @@ def configure(conf): conf.load('compiler_cxx') conf.line_just = 40 autowaf.configure(conf) + + conf.check_cxx(cxxflags=["-std=c++0x"]) conf.env.append_unique('CXXFLAGS', ['-std=c++0x']) autowaf.display_header('Patchage Configuration') -- cgit v1.2.1