summaryrefslogtreecommitdiff
path: root/libs/fluidsynth
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2018-10-14 22:06:11 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2018-10-14 22:06:11 -0400
commit8ed33f1bc714c154914af922d26fe4234cd8edf4 (patch)
treee80e166d4255316e7ae97b188e4e8caf2975f9ee /libs/fluidsynth
parentd7fca7c828a2bec548fa4888f4cfe7a9c0ba7f8f (diff)
remove use of hardcoded -fPIC compiler flag, and use compiler flag dict instead
Diffstat (limited to 'libs/fluidsynth')
-rw-r--r--libs/fluidsynth/wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/fluidsynth/wscript b/libs/fluidsynth/wscript
index 849c31f301..ebce6efcb4 100644
--- a/libs/fluidsynth/wscript
+++ b/libs/fluidsynth/wscript
@@ -61,7 +61,7 @@ def build(bld):
'src/fluid_settings.c',
'src/fluid_sys.c'
],
- cflags = [ '-fPIC', '-fvisibility=hidden' ],
+ cflags = [ bld.env['compiler_flags_dict']['pic'], '-fvisibility=hidden' ],
includes = ['.', 'src/' ],
target = 'libfluidsynth',
use = 'libfluidsynth_includes',