summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/zig.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-11-14 22:45:28 +0800
committerruki <[email protected]>2022-11-14 22:45:28 +0800
commit447b55d0e8f007bc5c5164cf92fdff47904192a2 (patch)
tree16e3e94c62069edd77bbcc80261568a70c5233d5 /xmake/modules/core/tools/zig.lua
parent95cae7f6f15abf2f4f78fcd03bdb7647920dbb63 (diff)
update zig tests
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