aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libzfs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libzfs')
-rw-r--r--lib/libzfs/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libzfs/Makefile.am b/lib/libzfs/Makefile.am
index e5b2ce765..da40c96ce 100644
--- a/lib/libzfs/Makefile.am
+++ b/lib/libzfs/Makefile.am
@@ -5,6 +5,9 @@ VPATH = \
$(top_srcdir)/module/zcommon \
$(top_srcdir)/lib/libzfs
+# Suppress unused but set variable warnings often due to ASSERTs
+AM_CFLAGS += $(NO_UNUSED_BUT_SET_VARIABLE)
+
libzfs_pcdir = $(datarootdir)/pkgconfig
libzfs_pc_DATA = libzfs.pc libzfs_core.pc