summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2020-12-31 08:21:27 +0800
committerGitHub <[email protected]>2020-12-31 08:21:27 +0800
commit54a7c467ad4afd46a1ae38b5bbfad526c674766f (patch)
treef25c2becec18eb2f1630b315fdd42c2830bd4a57
parent944565c7161a1c834461e3cdbb2f23a72d5884b9 (diff)
parent5c7bb5859c3c00a341e6806e7c09a19fe0de8170 (diff)
Merge pull request #1176 from BarrOff/fix_ldc2_debug_flags
fix debugging flags for ldc2
-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