summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2017-08-01 18:18:05 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2017-08-01 18:18:05 +0200
commit9dc1f51d2825c5e48da06e20a9c7a570fbef09a3 (patch)
treeb0154a328af12402f104b521549540aa0c1d9af8
parent95dd5bc7fb7dc818116ee367aaa3079f410e2cf7 (diff)
downloadlvm2-9dc1f51d2825c5e48da06e20a9c7a570fbef09a3.tar.gz
makefiles: fix tested vars
For resolving usability of DEBUG_MEM - check proper translated make vars for proper value.
-rw-r--r--make.tmpl.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/make.tmpl.in b/make.tmpl.in
index 17276c389..91f38b807 100644
--- a/make.tmpl.in
+++ b/make.tmpl.in
@@ -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