diff options
| -rwxr-xr-x | xmake/tools/clang.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/xmake/tools/clang.lua b/xmake/tools/clang.lua index 62866b0c6..0c426f09a 100755 --- a/xmake/tools/clang.lua +++ b/xmake/tools/clang.lua @@ -43,3 +43,16 @@ function init(shellname, kind) end +-- make the strip flag +function strip(level) + + -- the maps + local maps = + { + debug = "-Wl,-S" + , all = "-Wl,-S" + } + + -- make it + return maps[level] or "" +end |
