diff options
| author | as564335sa <[email protected]> | 2022-08-22 16:04:05 +0800 |
|---|---|---|
| committer | as564335sa <[email protected]> | 2022-08-22 16:04:05 +0800 |
| commit | 95d016345759d9e839fdfabb40e19083fbabd52e (patch) | |
| tree | c23bb3578e62d02069e3019a61fbc355e89c1ce7 | |
| parent | b6b38e5ca97d5056e8f2b6941a8121d6c9c3a79f (diff) | |
fix
| -rw-r--r-- | xmake/modules/core/tools/armasm.lua | 4 |
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 |
