From 475d42a16c0a9ce3946c1ac2b3d20c32feec4fec Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Mon, 18 Feb 2013 11:56:13 +0100 Subject: cbfstool: Add `-Werror` to make all warnings into errors Ensure that no changes with warnings are committed. Although using `-Werror` is debatable [1][2]. [1] http://blog.flameeyes.eu/2009/02/future-proof-your-code-dont-use-werror [2] http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html Change-Id: I402f2d82dd4087d8a575b0a85305a02ef04bb537 Signed-off-by: Paul Menzel Reviewed-on: http://review.coreboot.org/2441 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- util/cbfstool/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/cbfstool') diff --git a/util/cbfstool/Makefile b/util/cbfstool/Makefile index 3ace744905..a14a76f89c 100644 --- a/util/cbfstool/Makefile +++ b/util/cbfstool/Makefile @@ -2,7 +2,7 @@ obj ?= $(shell pwd) HOSTCXX ?= g++ HOSTCC ?= gcc -CFLAGS ?= -g -Wall +CFLAGS ?= -g -Wall -Werror CFLAGS += -D_7ZIP_ST BINARY:=$(obj)/cbfstool -- cgit v1.2.3