summaryrefslogtreecommitdiff
path: root/xmake/modules
diff options
context:
space:
mode:
authorBarrOff <[email protected]>2020-12-30 19:48:41 +0100
committerBarrOff <[email protected]>2020-12-30 19:48:41 +0100
commit5c7bb5859c3c00a341e6806e7c09a19fe0de8170 (patch)
tree460b7af51d77a3b9f94ab339ebf010d5c433ffb0 /xmake/modules
parentcf4d9172c96f24ea44ab02e74fbeaf6baa3ffbb2 (diff)
fix debugging flags for ldc2
Diffstat (limited to 'xmake/modules')
-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