From fee2df0230439736a72ce4237829bd67dc75f023 Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 10 Aug 2017 21:12:09 +0800 Subject: use /Zi instead of /ZI --- xmake/modules/core/tools/cl.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xmake/modules/core/tools/cl.lua') 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 -- cgit v1.3.1