From 00d5e6a96fcc4bcbd0f62f181b04024575b1d0c6 Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 29 Jan 2023 11:54:30 +0800 Subject: improve ldflags for dmd/ldc --- xmake/modules/core/tools/dmd.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake/modules/core/tools/dmd.lua') diff --git a/xmake/modules/core/tools/dmd.lua b/xmake/modules/core/tools/dmd.lua index 6dfa85695..cb364c92c 100644 --- a/xmake/modules/core/tools/dmd.lua +++ b/xmake/modules/core/tools/dmd.lua @@ -62,7 +62,7 @@ function nf_strip(self, level) if not self:is_plat("windows") then local maps = { debug = "-L-S", - all = {"-L-s", "-L-dead_strip"} + all = "-L-s" } if self:is_plat("macosx", "iphoneos") then maps.all = {"-L-x", "-L-dead_strip"} -- cgit v1.3.1