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/backends/jack/wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/backends') diff --git a/libs/backends/jack/wscript b/libs/backends/jack/wscript index 8de15ef74d..bd5735f05a 100644 --- a/libs/backends/jack/wscript +++ b/libs/backends/jack/wscript @@ -80,8 +80,8 @@ def build(bld): obj.use = 'libardour libpbd ardouralsautil' obj.install_path = os.path.join(bld.env['LIBDIR'], 'backends') if bld.env['build_target'] != 'mingw': - obj.cxxflags = [ '-fPIC' ] - obj.cflags = [ '-fPIC' ] + obj.cxxflags = [ bld.env['compiler_flags_dict']['pic'] ] + obj.cflags = [ bld.env['compiler_flags_dict']['pic'] ] else: obj.cxxflags = [ ] obj.cflags = [ ] -- cgit v1.2.3