summaryrefslogtreecommitdiff
path: root/libs/audiographer/wscript
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/audiographer/wscript
parentd7fca7c828a2bec548fa4888f4cfe7a9c0ba7f8f (diff)
remove use of hardcoded -fPIC compiler flag, and use compiler flag dict instead
Diffstat (limited to 'libs/audiographer/wscript')
-rw-r--r--libs/audiographer/wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/audiographer/wscript b/libs/audiographer/wscript
index ad4140d25e..f6e7f7cd83 100644
--- a/libs/audiographer/wscript
+++ b/libs/audiographer/wscript
@@ -78,8 +78,8 @@ def build(bld):
audiographer.defines = [ 'LIBAUDIOGRAPHER_DLL_EXPORTS=1' ]
else:
audiographer = bld.stlib(features = 'c cxx cstlib cxxstlib', source=audiographer_sources)
- audiographer.cxxflags = [ '-fPIC' ]
- audiographer.cflags = [ '-fPIC' ]
+ audiographer.cxxflags = [ bld.env['compiler_flags_dict']['pic'] ]
+ audiographer.cflags = [ bld.env['compiler_flags_dict']['pic'] ]
audiographer.defines = []
audiographer.name = 'libaudiographer'