summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-11-17 11:04:24 +0800
committerGitHub <[email protected]>2021-11-17 11:04:24 +0800
commitb7e124e4f8e77e75025717cee6b6066dfa34d813 (patch)
tree70e5c82609dc8665f71dfc9c8a45a84a95130406
parent41173c58e23377477355306769bd5b5808f9ca23 (diff)
Update armasm.lua
-rw-r--r--xmake/modules/core/tools/armasm.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/armasm.lua b/xmake/modules/core/tools/armasm.lua
index 181d8b7e8..3065fe0a3 100644
--- a/xmake/modules/core/tools/armasm.lua
+++ b/xmake/modules/core/tools/armasm.lua
@@ -92,6 +92,11 @@ function nf_language(self, stdname)
end
end
+-- make the define flag
+function nf_define(self, macro)
+ return {"--pd", macro .. " SETA 1"}
+end
+
-- make the includedir flag
function nf_includedir(self, dir)
return {"-I" .. dir}