From 81d19574f7102e1c6476bc4d5a80632acb2cb1ed Mon Sep 17 00:00:00 2001 From: Milan Broz Date: Fri, 22 Jan 2010 13:20:32 +0000 Subject: [PATCH] Switch memory debugging off for now if compiled with dmeventd, functions are not thread-safe in debug mode. --- make.tmpl.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/make.tmpl.in b/make.tmpl.in index 1c3834ec3..1cba3f2ee 100644 --- a/make.tmpl.in +++ b/make.tmpl.in @@ -78,7 +78,10 @@ CFLAGS += @COPTIMISE_FLAG@ ifeq ("@DEBUG@", "yes") CFLAGS += -g -fno-omit-frame-pointer DEFS += -DDEBUG - DEFS += -DDEBUG_MEM + # memory debugging is not thread-safe yet + ifneq ("@DMEVENTD@", "yes") + DEFS += -DDEBUG_MEM + endif endif ifeq ("@INTL@", "yes")