diff options
| author | ruki <[email protected]> | 2016-09-15 19:04:59 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-09-15 19:04:59 +0800 |
| commit | 252f501054ab2058320319a1cb9f749858b6776c (patch) | |
| tree | bb4723c7b6a0e164b7642e8353819344318db921 | |
| parent | 5add52e8c36aea18ccc70320949e077c69d9e6fa (diff) | |
remove pdb symbol file for ml
| -rwxr-xr-x | xmake/tools/ml.lua | 31 |
1 files changed, 1 insertions, 30 deletions
diff --git a/xmake/tools/ml.lua b/xmake/tools/ml.lua index 5e5c0251a..79a2110ef 100755 --- a/xmake/tools/ml.lua +++ b/xmake/tools/ml.lua @@ -64,36 +64,7 @@ end -- make the symbol flag function symbol(level, symbolfile) - - -- check -FS flags - if _g._FS == nil then - local ok = try - { - function () - check("-ZI -FS -Fd" .. os.tmpfile() .. ".pdb") - return true - end - } - if ok then - _g._FS = true - end - end - - -- debug? generate *.pdb file - local flags = "" - if level == "debug" then - if symbolfile then - flags = "-ZI -Fd" .. symbolfile - if _g._FS then - flags = "-FS " .. flags - end - else - flags = "-ZI" - end - end - - -- none - return flags + return "" end -- make the warning flag |
