aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2012-02-27 10:42:07 -0800
committerBrian Behlendorf <[email protected]>2012-02-27 14:24:22 -0800
commit3c208a5480960c9610676dbabeee35fd8b8bb3d8 (patch)
treecc3ebd553d4f6f1f44bc9541a13b26c95e96f486 /include
parentfeedc4360114941021ff0053a8f979235dd673da (diff)
Cleanly support debug packages
Allow a source rpm to be rebuilt with debugging enabled. This avoids the need to have to manually modify the spec file. By default debugging is still largely disabled. To enable specific debugging features use the following options with rpmbuild. '--with debug' - Enables ASSERTs '--with debug-log' - Enables the internal debug log '--with debug-kmem' - Enables basic memory accounting '--with debug-kmem-tracking' - Enables detailed memory tracking # For example: $ rpmbuild --rebuild --with debug spl-modules-0.6.0-rc6.src.rpm Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/Makefile.in b/include/Makefile.in
index 37fce0449..1e6aa5fe6 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -76,6 +76,10 @@ CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CYGPATH_W = @CYGPATH_W@
DEBUG_CFLAGS = @DEBUG_CFLAGS@
+DEBUG_KMEM = @DEBUG_KMEM@
+DEBUG_KMEM_TRACKING = @DEBUG_KMEM_TRACKING@
+DEBUG_LOG = @DEBUG_LOG@
+DEBUG_SPL = @DEBUG_SPL@
DEFAULT_PACKAGE = @DEFAULT_PACKAGE@
DEFS = @DEFS@
DEPDIR = @DEPDIR@