summaryrefslogtreecommitdiff
path: root/make.tmpl.in
diff options
context:
space:
mode:
authorMarian Csontos <mcsontos@redhat.com>2017-12-14 13:49:33 +0100
committerMarian Csontos <mcsontos@redhat.com>2017-12-14 16:45:53 +0100
commit83e1a0bad836f8950cb1e38924bf2600f118861e (patch)
treed0973f867fa6282d3e348dc3ae0c6ab4b04f3079 /make.tmpl.in
parentc957d46f1d73891e3a7e9c1482c1d4a39ca0e79a (diff)
downloadlvm2-83e1a0bad836f8950cb1e38924bf2600f118861e.tar.gz
lvm2app: Suppress deprecation warnings for our builds
Diffstat (limited to 'make.tmpl.in')
-rw-r--r--make.tmpl.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/make.tmpl.in b/make.tmpl.in
index 65362d87c..bdf234918 100644
--- a/make.tmpl.in
+++ b/make.tmpl.in
@@ -261,6 +261,8 @@ endif
# end of fPIC protection
endif
+DEFS += -D_BUILDING_LVM
+
LDFLAGS += -L$(top_builddir)/libdm -L$(top_builddir)/lib
CLDFLAGS += -L$(top_builddir)/libdm -L$(top_builddir)/lib