summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/src/tbox/xmake.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/src/tbox/xmake.lua b/core/src/tbox/xmake.lua
index 7c447968a..945300b91 100644
--- a/core/src/tbox/xmake.lua
+++ b/core/src/tbox/xmake.lua
@@ -32,7 +32,9 @@ if is_mode("debug", "check", "coverage") then
set_optimize("none")
-- add defines for debug
- add_defines("__tb_debug__")
+ if not is_mode("coverage") then
+ add_defines("__tb_debug__")
+ end
-- attempt to enable some checkers for pc
if is_mode("check") and is_arch("i386", "x86_64") then