summaryrefslogtreecommitdiff
path: root/xmake/modules/package/tools/autoconf.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-11-15 23:46:27 +0800
committerruki <[email protected]>2022-11-15 23:46:27 +0800
commit736765d9139db675e904789664391c52c455ea48 (patch)
tree449bb0617d10022398d8823523e20d7eede664e1 /xmake/modules/package/tools/autoconf.lua
parent2a92e17ee99cce211bb2dccb134abeb087218a25 (diff)
revert fpic to asflags
Diffstat (limited to 'xmake/modules/package/tools/autoconf.lua')
-rw-r--r--xmake/modules/package/tools/autoconf.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/xmake/modules/package/tools/autoconf.lua b/xmake/modules/package/tools/autoconf.lua
index 76952738c..fe0901ad1 100644
--- a/xmake/modules/package/tools/autoconf.lua
+++ b/xmake/modules/package/tools/autoconf.lua
@@ -250,7 +250,6 @@ 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)