summaryrefslogtreecommitdiff
path: root/xmake/tools/ml.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/tools/ml.lua')
-rw-r--r--[-rwxr-xr-x]xmake/tools/ml.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/xmake/tools/ml.lua b/xmake/tools/ml.lua
index 705c05dbd..874d0be78 100755..100644
--- a/xmake/tools/ml.lua
+++ b/xmake/tools/ml.lua
@@ -23,11 +23,14 @@
--
-- init it
-function init(shellname)
+function init(shellname, kind)
-- save name
_g.shellname = shellname or "ml.exe"
+ -- save kind
+ _g.kind = kind
+
-- init asflags
if _g.shellname:find("64") then
_g.asflags = { "-nologo"}