]> git.proxmox.com Git - mirror_zfs.git/commit
Unconditionally build zdb and ztest with -DDEBUG
authorRichard Yao <ryao@gentoo.org>
Fri, 11 Dec 2015 23:40:05 +0000 (18:40 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 14 Dec 2015 20:53:09 +0000 (12:53 -0800)
commit27075111ed93f5290fbb5d801964aa20ed7a9d35
treee91bdf2b0ebc6bef4dcac87cde3ade81aaac2510
parent245b7ab3d1c06efe5b76a9412996fac50aa77f72
Unconditionally build zdb and ztest with -DDEBUG

Illumos unconditionally builds zdb and ztest with -DDEBUG. This helps
catch bugs and eliminates the need for commits like
202619623022722f30c2ee49931a4fa6896421c7, which changed ASSERTs to
VERIFYs. The following files in the illumos tree show this:

usr/src/cmd/zdb/Makefile.com
usr/src/cmd/ztest/Makefile.com

Given the usefulness of having early failure in these tools, we should
do it too.

Signed-off-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #4095
cmd/zdb/Makefile.am
cmd/ztest/Makefile.am