]> sourceware.org Git - lvm2.git/commitdiff
Switch memory debugging off for now if compiled with dmeventd,
authorMilan Broz <mbroz@redhat.com>
Fri, 22 Jan 2010 13:20:32 +0000 (13:20 +0000)
committerMilan Broz <mbroz@redhat.com>
Fri, 22 Jan 2010 13:20:32 +0000 (13:20 +0000)
functions are not thread-safe in debug mode.

make.tmpl.in

index 1c3834ec3fb3a9173aff990e67cbaf8aeb8175ae..1cba3f2ee40255e8677569f7e8841ecf1c914f59 100644 (file)
@@ -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")
This page took 0.032945 seconds and 5 git commands to generate.