From e013670550641610dc09b6b58f0ea9fd00169d07 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Tue, 23 Apr 2013 16:40:47 -0700 Subject: [PATCH] Set RPM_DEFINE_COMMON options When the kmod packaging was introduced the ability to pass the --enable-debug and --enable-dmu-tx options from configure all the way through to `make rpm|deb` was accidenally lost. Update ZFS_AC_RPM to explicitlu set RPM_DEFINE_COMMON with these rpmbuild defines. Signed-off-by: Brian Behlendorf Issue #1402 --- config/zfs-build.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/zfs-build.m4 b/config/zfs-build.m4 index cccd87ff2..005185b03 100644 --- a/config/zfs-build.m4 +++ b/config/zfs-build.m4 @@ -138,7 +138,7 @@ AC_DEFUN([ZFS_AC_RPM], [ AC_MSG_RESULT([$HAVE_RPMBUILD]) ]) - RPM_DEFINE_COMMON= + RPM_DEFINE_COMMON='--define "$(DEBUG_ZFS) 1" --define "$(DEBUG_DMU_TX) 1"' RPM_DEFINE_UTIL= RPM_DEFINE_KMOD='--define "kernels $(LINUX_VERSION)"' RPM_DEFINE_DKMS=