summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/ldc2.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-01-29 11:54:30 +0800
committerruki <[email protected]>2023-01-29 11:54:30 +0800
commit00d5e6a96fcc4bcbd0f62f181b04024575b1d0c6 (patch)
tree16cfd26beb92803d2aa0b0b6427d0386b7bab0c4 /xmake/modules/core/tools/ldc2.lua
parent4eb0e559f8b5eaaf1c79e00aa38b8c63e5833d49 (diff)
improve ldflags for dmd/ldc
Diffstat (limited to 'xmake/modules/core/tools/ldc2.lua')
-rw-r--r--xmake/modules/core/tools/ldc2.lua11
1 files changed, 0 insertions, 11 deletions
diff --git a/xmake/modules/core/tools/ldc2.lua b/xmake/modules/core/tools/ldc2.lua
index 2562ef07e..86c821252 100644
--- a/xmake/modules/core/tools/ldc2.lua
+++ b/xmake/modules/core/tools/ldc2.lua
@@ -46,17 +46,6 @@ function nf_optimize(self, level)
return maps[level]
end
--- make the strip flag
-function nf_strip(self, level)
- if not self:is_plat("windows") then
- local maps = {
- debug = "-L-S",
- all = "-L-s"
- }
- return maps[level]
- end
-end
-
-- make the symbol flag
function nf_symbol(self, level)
local maps = {