summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)