diff options
author | David Quigley <[email protected]> | 2017-09-13 14:48:05 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-09-15 13:26:05 -0700 |
commit | 1f4e2c88fd6ca44ec50f178ca8baa18a9c764a98 (patch) | |
tree | 3171095f957128d6c3a2920955fc9ce20cb8d9ad | |
parent | 7c9abcf88781947d02863b81ae98c58b18ed71d0 (diff) |
ZTEST: Always enable asserts
The build for ztest always enabled debug information but does not enable
asserts unless --enable-debug is used. This will always enable asserts
in the ztest code.
Reviewed-by: George Melikov <[email protected]>
Reviewed-by Brian Behlendorf <[email protected]>
Signed-off-by: David Quigley <[email protected]>
Closes #6640
-rw-r--r-- | cmd/ztest/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/ztest/Makefile.am b/cmd/ztest/Makefile.am index 930a7ec3a..cbfb95fd3 100644 --- a/cmd/ztest/Makefile.am +++ b/cmd/ztest/Makefile.am @@ -3,7 +3,7 @@ include $(top_srcdir)/config/Rules.am # -Wnoformat-truncation to get rid of compiler warning for unchecked # truncating snprintfs on gcc 7.1.1. AM_CFLAGS += $(DEBUG_STACKFLAGS) $(FRAME_LARGER_THAN) $(NO_FORMAT_TRUNCATION) -AM_CPPFLAGS += -DDEBUG +AM_CPPFLAGS += -DDEBUG -UNDEBUG DEFAULT_INCLUDES += \ -I$(top_srcdir)/include \ |