Update fluidsynth cflags

This commit is contained in:
EZ4Stephen 2025-12-12 20:57:55 +04:00 committed by Robin Gareus
parent cefbb6db32
commit c76f13d6ab
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

@ -52,7 +52,7 @@ def build(bld):
'src/fluid_synth_monopoly.c',
'src/fluid_sys.c'
],
cflags = [ bld.env['compiler_flags_dict']['pic'], '-fvisibility=hidden', '-std=gnu99'] + (['-Wno-unused-function'] if bld.env['build_target'] != 'msvc' else []),
cflags = [ bld.env['compiler_flags_dict']['pic']] + (['-fvisibility=hidden', '-std=gnu99', '-Wno-unused-function'] if bld.env['build_target'] != 'msvc' else []),
includes = ['.', 'src/' ],
target = 'libfluidsynth',
use = 'libfluidsynth_includes',