mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
remove use of hardcoded -fPIC compiler flag, and use compiler flag dict instead
This commit is contained in:
parent
d7fca7c828
commit
8ed33f1bc7
24 changed files with 41 additions and 40 deletions
|
|
@ -57,7 +57,7 @@ def build(bld):
|
|||
obj.linkflags = [ '-lsetupapi', '-mwindows' ]
|
||||
obj.uselib = 'SETUPAPI'
|
||||
else:
|
||||
obj.cflags += [ '-fPIC' ]
|
||||
obj.cflags += [ bld.env['compiler_flags_dict']['pic'] ]
|
||||
if sys.platform == 'darwin':
|
||||
obj.source = 'mac/hid.c'
|
||||
obj.framework = [ 'IOKit', 'CoreFoundation' ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue