]> git.proxmox.com Git - mirror_zfs.git/blobdiff - lib/libzpool/Makefile.am
Support -fsanitize=address with --enable-asan
[mirror_zfs.git] / lib / libzpool / Makefile.am
index 95e2493421a68b3d44ca26a5a5c9445c7e6a7820..06219168b7d30bdf9440a407926973a2f345bad2 100644 (file)
@@ -5,7 +5,11 @@ VPATH = \
        $(top_srcdir)/module/zcommon \
        $(top_srcdir)/lib/libzpool
 
-AM_CFLAGS += $(DEBUG_STACKFLAGS) $(FRAME_LARGER_THAN)
+# Suppress unused but set variable warnings often due to ASSERTs
+AM_CFLAGS += $(NO_UNUSED_BUT_SET_VARIABLE)
+
+# Includes kernel code generate warnings for large stack frames
+AM_CFLAGS += $(FRAME_LARGER_THAN)
 
 DEFAULT_INCLUDES += \
        -I$(top_srcdir)/include \