diff options
author | will <will@FreeBSD.org> | 2013-08-27 04:01:31 +0000 |
---|---|---|
committer | will <will@FreeBSD.org> | 2013-08-27 04:01:31 +0000 |
commit | 1b508b8cc86a59427c841ab4ffbf912887462b37 (patch) | |
tree | 1c1333501c8c691d30dc5aad4d8d4d553c863ed1 /cddl/usr.bin | |
parent | 68734fc2a72e2d1ce0edd0118db8fd449e3f801c (diff) | |
download | FreeBSD-src-1b508b8cc86a59427c841ab4ffbf912887462b37.zip FreeBSD-src-1b508b8cc86a59427c841ab4ffbf912887462b37.tar.gz |
Build all ZFS testing & debugging tools with -g.
These programs and everything using libzpool rely on the embedded asserts to
verify the correctness of operations. Given that, the core dumps would be
useless without debug symbols.
Diffstat (limited to 'cddl/usr.bin')
-rw-r--r-- | cddl/usr.bin/ztest/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cddl/usr.bin/ztest/Makefile b/cddl/usr.bin/ztest/Makefile index 965300e..370eacb5 100644 --- a/cddl/usr.bin/ztest/Makefile +++ b/cddl/usr.bin/ztest/Makefile @@ -25,7 +25,8 @@ LDADD= -lgeom -lm -lnvpair -lumem -lzpool -lpthread -lavl -lzfs_core -lzfs \ CSTD= c99 -CFLAGS+= -DDEBUG=1 -#DEBUG_FLAGS+= -g +# Since there are many asserts in this program, it makes no sense to compile +# it without debugging. +CFLAGS+= -g -DDEBUG=1 .include <bsd.prog.mk> |