summaryrefslogtreecommitdiff
path: root/package/lvm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/lvm/Makefile')
-rw-r--r--package/lvm/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/lvm/Makefile b/package/lvm/Makefile
index 11a917e45..df1957df6 100644
--- a/package/lvm/Makefile
+++ b/package/lvm/Makefile
@@ -39,7 +39,9 @@ CONFIGURE_ARGS+= --with-user="" --with-group="" \
--with-optimisation="" \
--disable-testing \
--with-lvm1=none
-CONFIGURE_ENV+= ac_cv_flag_HAVE_PIE=no
+CONFIGURE_ENV+= ac_cv_flag_HAVE_PIE=no \
+ ac_cv_func_malloc_0_nonnull=yes \
+ ac_cv_func_realloc_0_nonnull=yes
lvm-install:
${INSTALL_DIR} ${IDIR_LVM}/usr/sbin