remove use of hardcoded -fPIC compiler flag, and use compiler flag dict instead

This commit is contained in:
Paul Davis 2018-10-14 22:06:11 -04:00
parent d7fca7c828
commit 8ed33f1bc7
24 changed files with 41 additions and 40 deletions

View file

@ -39,7 +39,7 @@ def build(bld):
obj = bld(features = 'c cshlib',
source = 'a-delay.c',
name = 'a-delay',
cflags = [ '-fPIC', bld.env['compiler_flags_dict']['c99'] ],
cflags = [ bld.env['compiler_flags_dict']['pic'], bld.env['compiler_flags_dict']['c99'] ],
includes = [ '../../ardour' ],
target = '../../LV2/%s/a-delay' % bundle,
install_path = '${LV2DIR}/%s' % bundle,