mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
libtpool: -Wno-clobbered
Also remove -Wno-unused-but-set-variable Upstream-bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61118 Reviewed-by: Alejandro Colomar <alx.manpages@gmail.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #13110
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
include $(top_srcdir)/config/Rules.am
|
||||
|
||||
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61118
|
||||
AM_CFLAGS += $(NO_CLOBBERED)
|
||||
|
||||
noinst_LTLIBRARIES = libtpool.la
|
||||
|
||||
USER_C = \
|
||||
|
||||
@@ -6,7 +6,6 @@ VPATH = \
|
||||
$(top_srcdir)/lib/libzfs
|
||||
|
||||
# Suppress unused but set variable warnings often due to ASSERTs
|
||||
AM_CFLAGS += $(NO_UNUSED_BUT_SET_VARIABLE)
|
||||
AM_CFLAGS += $(LIBCRYPTO_CFLAGS) $(ZLIB_CFLAGS)
|
||||
|
||||
pkgconfig_DATA = libzfs.pc
|
||||
|
||||
@@ -17,9 +17,6 @@ endif
|
||||
# Unconditionally enable debugging for libzpool
|
||||
AM_CPPFLAGS += -DDEBUG -UNDEBUG -DZFS_DEBUG
|
||||
|
||||
# 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)
|
||||
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
include $(top_srcdir)/config/Rules.am
|
||||
|
||||
# Suppress unused but set variable warnings often due to ASSERTs
|
||||
AM_CFLAGS += $(NO_UNUSED_BUT_SET_VARIABLE)
|
||||
AM_CFLAGS += $(LIBBLKID_CFLAGS) $(LIBUDEV_CFLAGS)
|
||||
|
||||
DEFAULT_INCLUDES += -I$(srcdir)
|
||||
|
||||
Reference in New Issue
Block a user