summaryrefslogtreecommitdiff
path: root/xmake/core/package/package.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/core/package/package.lua')
-rw-r--r--xmake/core/package/package.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua
index 5d8d6b111..d5fc901f1 100644
--- a/xmake/core/package/package.lua
+++ b/xmake/core/package/package.lua
@@ -2411,15 +2411,15 @@ function _instance:_generate_build_configs(configs, opt)
local compiler = self:compiler(sourcekind)
local cxflags = compiler:map_flags("runtime", runtimes, {target = self})
configs.cxflags = table.wrap(configs.cxflags)
- table.join2(configs.cxflags, cxflags)
+ table.insert(configs.cxflags, cxflags)
local ldflags = self:linker("binary", sourcekind):map_flags("runtime", runtimes, {target = self})
configs.ldflags = table.wrap(configs.ldflags)
- table.join2(configs.ldflags, ldflags)
+ table.insert(configs.ldflags, ldflags)
local shflags = self:linker("shared", sourcekind):map_flags("runtime", runtimes, {target = self})
configs.shflags = table.wrap(configs.shflags)
- table.join2(configs.shflags, shflags)
+ table.insert(configs.shflags, shflags)
self.sourcekinds = nil
end
if self:config("lto") then