From: Milan Broz Date: Fri, 22 Jan 2010 13:20:32 +0000 (+0000) Subject: Switch memory debugging off for now if compiled with dmeventd, X-Git-Tag: v2_02_91~2322 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=81d19574f7102e1c6476bc4d5a80632acb2cb1ed;p=lvm2.git Switch memory debugging off for now if compiled with dmeventd, functions are not thread-safe in debug mode. --- 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")