From 8ed33f1bc714c154914af922d26fe4234cd8edf4 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 14 Oct 2018 22:06:11 -0400 Subject: remove use of hardcoded -fPIC compiler flag, and use compiler flag dict instead --- libs/zita-resampler/wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/zita-resampler') diff --git a/libs/zita-resampler/wscript b/libs/zita-resampler/wscript index bdd4d333a1..03039d0d1d 100644 --- a/libs/zita-resampler/wscript +++ b/libs/zita-resampler/wscript @@ -42,7 +42,7 @@ def configure(conf): def build(bld): obj = bld.stlib(features = 'cxx cxxstlib', source = zresampler_sources) - obj.cxxflags = [ '-fPIC', '-O3', '-ffast-math' ] + obj.cxxflags = [ bld.env['compiler_flags_dict']['pic'], '-O3', '-ffast-math' ] obj.export_includes = ['.'] obj.includes = ['.'] obj.name = 'zita-resampler' -- cgit v1.2.3