summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/cl.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-08-10 21:12:09 +0800
committerruki <[email protected]>2017-08-10 21:12:09 +0800
commitfee2df0230439736a72ce4237829bd67dc75f023 (patch)
tree9e4a805090f96dd842af4c4d3e3dd7de9cbb6d86 /xmake/modules/core/tools/cl.lua
parentc6cebfe5a3506df17cbc4c3eb8204bae93fed69e (diff)
use /Zi instead of /ZI
Diffstat (limited to 'xmake/modules/core/tools/cl.lua')
-rw-r--r--xmake/modules/core/tools/cl.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/modules/core/tools/cl.lua b/xmake/modules/core/tools/cl.lua
index bf5bc786f..3ff02496c 100644
--- a/xmake/modules/core/tools/cl.lua
+++ b/xmake/modules/core/tools/cl.lua
@@ -98,12 +98,12 @@ function nf_symbol(self, level, target)
local flags = nil
if level == "debug" then
if target and target.symbolfile then
- flags = "-ZI -Fd" .. target:symbolfile()
- if self:has_flags({"-ZI", "-FS", "-Fd" .. os.tmpfile() .. ".pdb"}) then
+ flags = "-Zi -Fd" .. target:symbolfile()
+ if self:has_flags({"-Zi", "-FS", "-Fd" .. os.tmpfile() .. ".pdb"}) then
flags = "-FS " .. flags
end
else
- flags = "-ZI"
+ flags = "-Zi"
end
end