diff options
| author | ruki <[email protected]> | 2023-03-24 22:53:56 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-03-24 22:53:56 +0800 |
| commit | f7d4107fc680fada4025132ef661b012654519f1 (patch) | |
| tree | 39a9c2695dedc934ed8e553870eacc7e29f80d10 /xmake/modules/core/tools/gcc.lua | |
| parent | 2b26ccfe4deeccdf73d405254bb81becbefc7da8 (diff) | |
improve vs runtime for clang
Diffstat (limited to 'xmake/modules/core/tools/gcc.lua')
| -rw-r--r-- | xmake/modules/core/tools/gcc.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/gcc.lua b/xmake/modules/core/tools/gcc.lua index f6dd6f55b..31b0deea5 100644 --- a/xmake/modules/core/tools/gcc.lua +++ b/xmake/modules/core/tools/gcc.lua @@ -88,6 +88,9 @@ function nf_strip(self, level, target) } if self:is_plat("macosx", "iphoneos") then maps.all = {"-Wl,-x", "-Wl,-dead_strip"} + elseif self:is_plat("windows") then + -- clang does not it on windows, TODO maybe we need test it for gcc + maps = {} end return maps[level] end |
