summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}