diff options
Diffstat (limited to 'cmd/ztest/Makefile.am')
-rw-r--r-- | cmd/ztest/Makefile.am | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/ztest/Makefile.am b/cmd/ztest/Makefile.am index a2f3b5a6b..5167d0c1d 100644 --- a/cmd/ztest/Makefile.am +++ b/cmd/ztest/Makefile.am @@ -1,6 +1,8 @@ include $(top_srcdir)/config/Rules.am -AM_CFLAGS += $(DEBUG_STACKFLAGS) $(FRAME_LARGER_THAN) +# -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 DEFAULT_INCLUDES += \ |