Skip to content

Commit

Permalink
The older gcc in CentOS 6 doesn't understand some bits of zstd
Browse files Browse the repository at this point in the history
Disable warnings for use-without-initialize in the contributed code

Signed-off-by: Allan Jude <allanjude@freebsd.org>
  • Loading branch information
allanjude committed Jul 23, 2019
1 parent 93f51ba commit 90a0ebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/zstd_zfs/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 90a0ebe

Please sign in to comment.