From 90a0ebede544030897f94f6e2d9892458ed902b6 Mon Sep 17 00:00:00 2001 From: Allan Jude Date: Sun, 14 Jul 2019 16:26:38 +0000 Subject: [PATCH] The older gcc in CentOS 6 doesn't understand some bits of zstd Disable warnings for use-without-initialize in the contributed code Signed-off-by: Allan Jude --- module/zstd_zfs/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/zstd_zfs/Makefile.in b/module/zstd_zfs/Makefile.in index 9c755e8bbfb..49b0d35f15c 100644 --- a/module/zstd_zfs/Makefile.in +++ b/module/zstd_zfs/Makefile.in @@ -7,7 +7,7 @@ obj-$(CONFIG_ZFS) := $(MODULE).o asflags-y += $(ZFS_MODULE_CFLAGS) ccflags-y := $(ZFS_MODULE_CFLAGS) $(ZFS_MODULE_CPPFLAGS) -ccflags-y += -Wframe-larger-than=20480 +ccflags-y += -Wframe-larger-than=20480 -Wno-uninitialized $(MODULE)-objs += zstd/common/zstd_common.o $(MODULE)-objs += zstd/common/fse_decompress.o