From 8b831da586ef69be790deee1602ea08edad5415a Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Tue, 23 Feb 2016 19:19:20 +0100 Subject: Revert "cbfstool: Silence LZ4 -Wsign-compare warnings" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 17cb0370a70ccfc2301b7974bf38d44c7271afea. It’s the wrong thing to do, to just disable the warning. The code is fixed for 32-bit user space now in Change-Id I85bee25a69c432ef8bb934add7fd2e2e31f03662 (commonlib/lz4_wrapper: Use correct casts to ensure valid calculations), so enable the warning again. Change-Id: I6d1c62c7b4875da8053c25e640c03cedf0ff2916 Signed-off-by: Paul Menzel Reviewed-on: https://review.coreboot.org/13772 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) --- util/cbfstool/Makefile.inc | 1 - 1 file changed, 1 deletion(-) (limited to 'util') diff --git a/util/cbfstool/Makefile.inc b/util/cbfstool/Makefile.inc index 8824ad03d0..f4806168af 100644 --- a/util/cbfstool/Makefile.inc +++ b/util/cbfstool/Makefile.inc @@ -150,7 +150,6 @@ $(objutil)/cbfstool/cbfs.o: TOOLCFLAGS += -Wno-sign-compare -Wno-cast-qual $(objutil)/cbfstool/mem_pool.o: TOOLCFLAGS += -Wno-sign-compare -Wno-cast-qual # Tolerate lz4 warnings $(objutil)/cbfstool/lz4.o: TOOLCFLAGS += -Wno-missing-prototypes -$(objutil)/cbfstool/lz4_wrapper.o: TOOLCFLAGS += -Wno-sign-compare $(objutil)/cbfstool/fmd.o: $(objutil)/cbfstool/fmd_parser.h $(objutil)/cbfstool/fmd.o: $(objutil)/cbfstool/fmd_scanner.h -- cgit v1.2.3