From 9ea596c13c1be7718189dae2eebc7e1e0ee390a5 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/ingen@5036 a436a847-0d15-0410-975c-d299462d15a1 --- wscript | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wscript b/wscript index d990d7ad..17020102 100644 --- a/wscript +++ b/wscript @@ -35,6 +35,8 @@ def configure(conf): conf.load('compiler_cxx') conf.load('python') autowaf.configure(conf) + + conf.check_cxx(cxxflags=["-std=c++0x"]) conf.env.append_unique('CXXFLAGS', ['-std=c++0x']) autowaf.display_header('Ingen Configuration') -- cgit v1.2.1