diff options
| author | ruki <[email protected]> | 2018-02-23 00:23:38 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-02-22 20:21:48 +0800 |
| commit | 0c051195985a1f43311d1d29c756a6b02531799d (patch) | |
| tree | 90fb8da1f5dbc79485cfd5f96d34499429eb7f27 /xmake/modules/core/tools/clang.lua | |
| parent | 658c0ccdc65b63658a21735b21f806923f2fa70b (diff) | |
fix strip all bug for clang/macho
Diffstat (limited to 'xmake/modules/core/tools/clang.lua')
| -rw-r--r-- | xmake/modules/core/tools/clang.lua | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/xmake/modules/core/tools/clang.lua b/xmake/modules/core/tools/clang.lua index 29e28cc9d..692fc559c 100644 --- a/xmake/modules/core/tools/clang.lua +++ b/xmake/modules/core/tools/clang.lua @@ -35,22 +35,4 @@ function init(self) _super._g.cxflags = {"-Qunused-arguments"} _super._g.mxflags = {"-Qunused-arguments"} _super._g.asflags = {"-Qunused-arguments"} - - -- init flags map - _super._g.mapflags["-s"] = "-Wl,-S" - _super._g.mapflags["-S"] = "-Wl,-S" -end - --- make the strip flag -function nf_strip(self, level) - - -- the maps - local maps = - { - debug = "-Wl,-S" - , all = "-Wl,-S" - } - - -- make it - return maps[level] end |
