summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/dmd.lua
diff options
context:
space:
mode:
authorpdagobert <[email protected]>2023-03-19 10:16:43 +0100
committerpdagobert <[email protected]>2023-03-26 00:17:03 +0100
commitb61e7996260ccdafe32b292ea6c00bd8412e8951 (patch)
tree0e57a6c2e9a207f1f9b126d69cd9807569e83c49 /xmake/modules/core/tools/dmd.lua
parent2d5fbc71a783caade10d2c38c16a9e71d31cac13 (diff)
Fix pdb generation for dmd and ldc
Diffstat (limited to 'xmake/modules/core/tools/dmd.lua')
-rw-r--r--xmake/modules/core/tools/dmd.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/dmd.lua b/xmake/modules/core/tools/dmd.lua
index 99e872390..2570bc240 100644
--- a/xmake/modules/core/tools/dmd.lua
+++ b/xmake/modules/core/tools/dmd.lua
@@ -83,6 +83,8 @@ function nf_symbol(self, level)
_g.symbol_maps = maps
end
return maps[level .. '_' .. kind] or maps[level]
+ elseif kind == "dcld" then
+ return "-g"
end
end