summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-02-03 02:43:47 +0000
committerDavid Robillard <d@drobilla.net>2013-02-03 02:43:47 +0000
commit9ea596c13c1be7718189dae2eebc7e1e0ee390a5 (patch)
tree39709a563b4aea0883424f4836096d6fa4e43b9b /wscript
parentb405b793ef2487dbf3fa22e124818b3d37f165f9 (diff)
downloadingen-9ea596c13c1be7718189dae2eebc7e1e0ee390a5.tar.gz
ingen-9ea596c13c1be7718189dae2eebc7e1e0ee390a5.tar.bz2
ingen-9ea596c13c1be7718189dae2eebc7e1e0ee390a5.zip
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
Diffstat (limited to 'wscript')
-rw-r--r--wscript2
1 files changed, 2 insertions, 0 deletions
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')