diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2018-10-14 22:06:11 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2018-10-14 22:06:11 -0400 |
commit | 8ed33f1bc714c154914af922d26fe4234cd8edf4 (patch) | |
tree | e80e166d4255316e7ae97b188e4e8caf2975f9ee /libs/lua | |
parent | d7fca7c828a2bec548fa4888f4cfe7a9c0ba7f8f (diff) |
remove use of hardcoded -fPIC compiler flag, and use compiler flag dict instead
Diffstat (limited to 'libs/lua')
-rw-r--r-- | libs/lua/wscript | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libs/lua/wscript b/libs/lua/wscript index b67820f3cc..3936e552e9 100644 --- a/libs/lua/wscript +++ b/libs/lua/wscript @@ -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) |