From 15e7f5fe435c9ca67414a8aa1f8b2c328bab4a3d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 16 Jan 2018 21:22:51 +0100 Subject: Explicitly set language version --- wscript | 4 +--- 1 file changed, 1 insertion(+), 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', -- cgit v1.2.1