add C99 flags for lv2 plugin
authorRobin Gareus <robin@gareus.org>
Mon, 4 Jul 2016 11:08:23 +0000 (13:08 +0200)
committerRobin Gareus <robin@gareus.org>
Mon, 4 Jul 2016 11:08:23 +0000 (13:08 +0200)
libs/plugins/a-comp.lv2/wscript

index 7b3cbd69ebe87d116ca3593ab2fbbe4b05c384a0..9d33d1650713febdff1430d6a628791c5072149a 100644 (file)
@@ -38,7 +38,7 @@ def build(bld):
         obj = bld(features     = 'c cshlib',
                   source       = 'a-comp.c',
                   name         = 'a-comp',
-                  cflags       = [ '-fPIC' ],
+                  cflags       = [ '-fPIC',  bld.env['compiler_flags_dict']['c99'] ],
                   includes     = [ '../../ardour' ],
                   target       = '../../LV2/%s/a-comp' % bundle,
                   install_path = '${LV2DIR}/%s' % bundle,