aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-01-16 21:22:51 +0100
committerDavid Robillard <d@drobilla.net>2018-01-16 21:22:51 +0100
commit15e7f5fe435c9ca67414a8aa1f8b2c328bab4a3d (patch)
tree32de788f344125e86c094b8c7175efe916d5ecba /wscript
parentb371eb33bb30976c24ccddb6834ee657e89df432 (diff)
downloadjalv-15e7f5fe435c9ca67414a8aa1f8b2c328bab4a3d.tar.gz
jalv-15e7f5fe435c9ca67414a8aa1f8b2c328bab4a3d.tar.bz2
jalv-15e7f5fe435c9ca67414a8aa1f8b2c328bab4a3d.zip
Explicitly set language version
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 1 insertions, 3 deletions
diff --git a/wscript b/wscript
index 8de93c7..57f98a5 100644
--- a/wscript
+++ b/wscript
@@ -49,9 +49,7 @@ def configure(conf):
conf.load('compiler_c', cache=True)
conf.load('compiler_cxx', cache=True)
conf.load('autowaf', cache=True)
-
- if conf.check(cflags=["-std=c11"]):
- conf.env.append_unique('CFLAGS', ['-std=c11'])
+ autowaf.set_c_lang(conf, 'c99')
autowaf.check_pkg(conf, 'lv2', atleast_version='1.14.0', uselib_store='LV2')
autowaf.check_pkg(conf, 'lilv-0', uselib_store='LILV',