diff options
| author | ruki <[email protected]> | 2026-03-29 22:55:28 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-03-29 22:55:28 +0800 |
| commit | 8841ed9f7b427896f042abcfb3537dd731f6a923 (patch) | |
| tree | d2cb01d00f1873851e86199deef19dda20c43702 /xmake/modules/package/tools/make.lua | |
| parent | 1bccfc273af2b1d579d033324bca481e15c58653 (diff) | |
improve const limit codes
Diffstat (limited to 'xmake/modules/package/tools/make.lua')
| -rw-r--r-- | xmake/modules/package/tools/make.lua | 3 |
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) |
