Skip to contentSkip to conversation

LVM2 make.tmpl.in

PATCH [email protected] 1 participant 1 message Jan 22, 2010

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: mbroz at sourceware.org 2010-01-22 13:20:33

Modified files:
. : make.tmpl.in

Log message:
Switch memory debugging off for now if compiled with dmeventd, functions are not thread-safe in debug mode.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/make.tmpl.in.diff?cvsroot=lvm2&r1=1.74&r2=1.75

make.tmpl.in +4 -1
@@ -78,7 +78,10 @@
 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")