summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/zig.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/core/tools/zig.lua')
-rw-r--r--xmake/modules/core/tools/zig.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/core/tools/zig.lua b/xmake/modules/core/tools/zig.lua
index c722c700b..8fb7c0b9f 100644
--- a/xmake/modules/core/tools/zig.lua
+++ b/xmake/modules/core/tools/zig.lua
@@ -37,8 +37,8 @@ end
-- make the strip flag
function nf_strip(self, level)
local maps = {
- debug = "--strip"
- , all = "--strip"
+ debug = "-fstrip"
+ , all = {"-fstrip", "-dead_strip"}
}
return maps[level]
end