summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/gcc.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-03-24 22:53:56 +0800
committerruki <[email protected]>2023-03-24 22:53:56 +0800
commitf7d4107fc680fada4025132ef661b012654519f1 (patch)
tree39a9c2695dedc934ed8e553870eacc7e29f80d10 /xmake/modules/core/tools/gcc.lua
parent2b26ccfe4deeccdf73d405254bb81becbefc7da8 (diff)
improve vs runtime for clang
Diffstat (limited to 'xmake/modules/core/tools/gcc.lua')
-rw-r--r--xmake/modules/core/tools/gcc.lua3
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