From 7b6391d71e863e8395bfd8b7e28337c84e7cac36 Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 28 Oct 2021 00:38:50 +0800 Subject: improve ml --- xmake/modules/core/tools/ml.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake/modules/core/tools/ml.lua b/xmake/modules/core/tools/ml.lua index 6678bec81..59749974c 100644 --- a/xmake/modules/core/tools/ml.lua +++ b/xmake/modules/core/tools/ml.lua @@ -119,7 +119,7 @@ function compargv(self, sourcefile, objectfile, flags) -- @see https://github.com/xmake-io/xmake/issues/1779 -- if not self:program():find("64", 1, true) and - not table.contains(flags, "-Gd", "/Gd", "-Gc", "/Gc", "-GZ", "/GZ") then + not table.contains(flags, "-Gc", "/Gc", "-GZ", "/GZ") then table.insert(flags, "-Gd") end return self:program(), table.join("-c", flags, "-Fo" .. objectfile, sourcefile) -- cgit v1.3.1