mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 20:55:48 +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
|
|
@ -22,12 +22,12 @@ def configure(conf):
|
|||
|
||||
def build(bld):
|
||||
obj=bld.stlib (source = ['lua.cc', 'luastate.cc'],
|
||||
cflags = [ '-fPIC' ],
|
||||
cxxflags = [ '-fPIC' ],
|
||||
includes = ['.'],
|
||||
export_includes = ['.'],
|
||||
target = 'liblua',
|
||||
uselib = [ 'SIGCPP', 'DL' ]
|
||||
cflags = [ bld.env['compiler_flags_dict']['pic'] ],
|
||||
cxxflags = [ bld.env['compiler_flags_dict']['pic'] ],
|
||||
includes = ['.'],
|
||||
export_includes = ['.'],
|
||||
target = 'liblua',
|
||||
uselib = [ 'SIGCPP', 'DL' ]
|
||||
)
|
||||
autowaf.ensure_visible_symbols (obj, True)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue