aboutsummaryrefslogtreecommitdiffstats
path: root/config/zfs-build.m4
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2013-04-23 16:40:47 -0700
committerBrian Behlendorf <[email protected]>2013-04-24 16:18:55 -0700
commite013670550641610dc09b6b58f0ea9fd00169d07 (patch)
tree2839317c89df1990ad9d690aa616f2c8623caed9 /config/zfs-build.m4
parent1a33036df9de8f95aea38ec0d9e483106d1abaa4 (diff)
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 <[email protected]> Issue #1402
Diffstat (limited to 'config/zfs-build.m4')
-rw-r--r--config/zfs-build.m42
1 files changed, 1 insertions, 1 deletions
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=