aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-02-27 20:30:20 +0100
committerDavid Robillard <d@drobilla.net>2017-02-27 20:30:20 +0100
commit1c54807896b84be490f93b9a7ee546204517af6f (patch)
tree9886c66ebe309425720ba41152c2ab483ba70fce /wscript
parent4d3ca48ea49f5885f279de9c2bdd236309d439bf (diff)
downloadjalv-1c54807896b84be490f93b9a7ee546204517af6f.tar.gz
jalv-1c54807896b84be490f93b9a7ee546204517af6f.tar.bz2
jalv-1c54807896b84be490f93b9a7ee546204517af6f.zip
Update waf and fix C++11 flags
Diffstat (limited to 'wscript')
-rw-r--r--wscript8
1 files changed, 3 insertions, 5 deletions
diff --git a/wscript b/wscript
index 9455c70..19f51bb 100644
--- a/wscript
+++ b/wscript
@@ -47,11 +47,9 @@ def configure(conf):
conf.load('compiler_c')
conf.load('compiler_cxx')
autowaf.configure(conf)
- autowaf.set_c99_mode(conf)
autowaf.display_header('Jalv Configuration')
-
- if conf.check_cxx(cxxflags=["-std=c++0x"]):
- conf.env.append_unique('CXXFLAGS', ['-std=c++0x']) # for Gtkmm
+ autowaf.set_c99_mode(conf)
+ autowaf.set_cxx11_mode(conf)
autowaf.check_pkg(conf, 'lv2', atleast_version='1.14.0', uselib_store='LV2')
autowaf.check_pkg(conf, 'lilv-0', uselib_store='LILV',
@@ -234,7 +232,7 @@ def build(bld):
includes = ['.', 'src'],
lib = ['pthread'],
install_path = '${BINDIR}',
- cxxflags = ['-fPIC', '-std=c++11'])
+ cxxflags = ['-fPIC'])
autowaf.use_lib(bld, obj, libs + ' QT5')
# Man pages