1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

makefiles: fix tested vars

For resolving usability of DEBUG_MEM - check proper translated make
vars for proper value.
This commit is contained in:
Zdenek Kabelac 2017-08-01 18:18:05 +02:00
parent 95dd5bc7fb
commit 9dc1f51d28

View File

@ -243,12 +243,12 @@ endif
CFLAGS += -fno-omit-frame-pointer
DEFS += -DDEBUG
# memory debugging is not thread-safe yet
ifneq ("@DMEVENTD@", "yes")
ifneq ("@DMFILEMAPD@", "yes")
ifneq ("@LVMLOCKD@", "yes")
ifneq ("@LVMPOLLD@", "yes")
ifneq ("@LVMETAD@", "yes")
ifneq ("@CLVMD@", "yes")
ifneq ("@BUILD_DMEVENTD@", "yes")
ifneq ("@BUILD_DMFILEMAPD@", "yes")
ifneq ("@BUILD_LVMLOCKD@", "yes")
ifneq ("@BUILD_LVMPOLLD@", "yes")
ifneq ("@BUILD_LVMETAD@", "yes")
ifeq ("@CLVMD@", "none")
DEFS += -DDEBUG_MEM
endif
endif