From 5c7bb5859c3c00a341e6806e7c09a19fe0de8170 Mon Sep 17 00:00:00 2001 From: BarrOff <58253563+BarrOff@users.noreply.github.com> Date: Wed, 30 Dec 2020 19:48:41 +0100 Subject: fix debugging flags for ldc2 --- xmake/modules/core/tools/ldc2.lua | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- cgit v1.3.1