summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/modules/core/tools/armasm.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/core/tools/armasm.lua b/xmake/modules/core/tools/armasm.lua
index e9ec41acf..765cdcdb4 100644
--- a/xmake/modules/core/tools/armasm.lua
+++ b/xmake/modules/core/tools/armasm.lua
@@ -106,9 +106,9 @@ end
function nf_define(self, macro)
local def = macro:split("=")
local key = def[1]:trim()
- local value = 1
+ local value = "1"
if #def == 2 then
- value = def[2]
+ value = def[2]:trim()
end
return {"--pd", key .. " SETA " .. value}
end