diff options
author | David Robillard <d@drobilla.net> | 2017-02-27 20:30:20 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-02-27 20:30:20 +0100 |
commit | 1c54807896b84be490f93b9a7ee546204517af6f (patch) | |
tree | 9886c66ebe309425720ba41152c2ab483ba70fce /wscript | |
parent | 4d3ca48ea49f5885f279de9c2bdd236309d439bf (diff) | |
download | jalv-1c54807896b84be490f93b9a7ee546204517af6f.tar.gz jalv-1c54807896b84be490f93b9a7ee546204517af6f.tar.bz2 jalv-1c54807896b84be490f93b9a7ee546204517af6f.zip |
Update waf and fix C++11 flags
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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 |