summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/ml.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-10-28 00:38:50 +0800
committerruki <[email protected]>2021-10-28 00:38:50 +0800
commit7b6391d71e863e8395bfd8b7e28337c84e7cac36 (patch)
treea49c4cfe198972c966b758f6585b01b6f6e0c607 /xmake/modules/core/tools/ml.lua
parenteb08e0fe247e681f2c9dd1184ac96ac16ba71641 (diff)
improve ml
Diffstat (limited to 'xmake/modules/core/tools/ml.lua')
-rw-r--r--xmake/modules/core/tools/ml.lua2
1 files changed, 1 insertions, 1 deletions
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)