Fluidsynth 2.0 uses anonymous unions (added in c11, or gnu99)
authorRobin Gareus <robin@gareus.org>
Thu, 18 Oct 2018 02:09:14 +0000 (04:09 +0200)
committerRobin Gareus <robin@gareus.org>
Thu, 18 Oct 2018 02:09:25 +0000 (04:09 +0200)
libs/fluidsynth/wscript

index 9b6422c341c25b29a16e520f364f698369e2afd9..3531e2e3d7a7154c3b0591e332e08784b4b88a4b 100644 (file)
@@ -65,7 +65,7 @@ def build(bld):
         'src/fluid_synth_monopoly.c',
         'src/fluid_sys.c'
         ],
-        cflags = [ bld.env['compiler_flags_dict']['pic'], '-fvisibility=hidden' ],
+        cflags = [ bld.env['compiler_flags_dict']['pic'], '-fvisibility=hidden', '-std=gnu99' ],
         includes = ['.', 'src/' ],
                target = 'libfluidsynth',
                use    = 'libfluidsynth_includes',