From: Brian Behlendorf Date: Tue, 23 Apr 2013 23:40:47 +0000 (-0700) Subject: Set RPM_DEFINE_COMMON options X-Git-Tag: zfs-0.6.2~100 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e013670550641610dc09b6b58f0ea9fd00169d07;p=zfs 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 --- 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=