From 95d016345759d9e839fdfabb40e19083fbabd52e Mon Sep 17 00:00:00 2001 From: as564335sa <809885126@qq.com> Date: Mon, 22 Aug 2022 16:04:05 +0800 Subject: fix --- xmake/modules/core/tools/armasm.lua | 4 ++-- 1 file 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 -- cgit v1.3.1