aboutsummaryrefslogtreecommitdiffstats
path: root/mk
diff options
context:
space:
mode:
authorErwan Velu <erwanaliasr1@gmail.com>2015-08-19 07:07:25 +0200
committerErwan Velu <erwanaliasr1@gmail.com>2015-09-04 17:57:52 +0200
commit74b6a2777e6351edc85aac21a69dd51be5e1e9aa (patch)
tree9239cce36bb16eb5a986ef278cf584d35743edb7 /mk
parentbd8ccabb61c76321ee8df5c0fe9754f5008de423 (diff)
downloadsyslinux-74b6a2777e6351edc85aac21a69dd51be5e1e9aa.tar.gz
syslinux-74b6a2777e6351edc85aac21a69dd51be5e1e9aa.tar.xz
syslinux-74b6a2777e6351edc85aac21a69dd51be5e1e9aa.zip
debug: Adding -DDEBUG_THREAD
When debugging some syslinux code with debugging enabled, the threading code is so verbose that it completly slow down syslinux but also is so verbose that any other trace is invisible in the flood. This commit aims at requesting people to explicitly enable the threading logs by using -DDEBUG_THREAD.
Diffstat (limited to 'mk')
-rw-r--r--mk/devel.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/mk/devel.mk b/mk/devel.mk
index b1fca87e..89642e21 100644
--- a/mk/devel.mk
+++ b/mk/devel.mk
@@ -1,6 +1,7 @@
# Useful while doing development, but not for production.
GCCWARN += -Wno-clobbered
#GCCWARN += -DDEBUG_MALLOC
+#GCCWARN += -DDEBUG_THREAD
# GCCWARN += -DDEBUG_PORT=0x3f8 -DCORE_DEBUG=1
GCCWARN += -DDYNAMIC_DEBUG