diff options
Diffstat (limited to 'xmake/modules')
| -rw-r--r-- | xmake/modules/package/tools/autoconf.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/package/tools/autoconf.lua b/xmake/modules/package/tools/autoconf.lua index fe0901ad1..76952738c 100644 --- a/xmake/modules/package/tools/autoconf.lua +++ b/xmake/modules/package/tools/autoconf.lua @@ -250,6 +250,7 @@ function buildenvs(package, opt) if package:is_plat("linux") and package:config("pic") ~= false then table.insert(cflags, "-fPIC") table.insert(cxxflags, "-fPIC") + table.insert(asflags, "-fPIC") end if package:config("lto") then table.join2(cflags, package:_generate_lto_configs("cc").cflags) |
