summaryrefslogtreecommitdiff
path: root/xmake/modules/package/tools/make.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/package/tools/make.lua')
-rw-r--r--xmake/modules/package/tools/make.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/modules/package/tools/make.lua b/xmake/modules/package/tools/make.lua
index f7f4f2dd7..13869a236 100644
--- a/xmake/modules/package/tools/make.lua
+++ b/xmake/modules/package/tools/make.lua
@@ -138,8 +138,7 @@ function build(package, configs, opt)
table.insert(argv, "V=1")
end
for name, value in pairs(configs) do
- local value = value
- value = tostring(value):trim()
+ local value = tostring(value):trim()
if value ~= "" then
if type(name) == "number" then
table.insert(argv, value)