summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/ldc2.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/core/tools/ldc2.lua')
-rw-r--r--xmake/modules/core/tools/ldc2.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/ldc2.lua b/xmake/modules/core/tools/ldc2.lua
index 02d067b19..d62c45a53 100644
--- a/xmake/modules/core/tools/ldc2.lua
+++ b/xmake/modules/core/tools/ldc2.lua
@@ -47,4 +47,12 @@ function nf_optimize(self, level)
return maps[level]
end
+-- make the symbol flag
+function nf_symbol(self, level)
+ local maps =
+ {
+ debug = "-g --d-debug"
+ }
+ return maps[level]
+end