summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorPaul Menzel <paulepanter@users.sourceforge.net>2013-02-18 11:56:13 +0100
committerPatrick Georgi <patrick@georgi-clan.de>2013-02-18 12:10:44 +0100
commit475d42a16c0a9ce3946c1ac2b3d20c32feec4fec (patch)
tree2697ef76b016a9cce4b00740722fbe0ef5d87b68 /util
parentca6e1f6c04c96c435bdbf30a1b88cab0e5be330b (diff)
downloadcoreboot-475d42a16c0a9ce3946c1ac2b3d20c32feec4fec.tar.xz
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 <paulepanter@users.sourceforge.net> Reviewed-on: http://review.coreboot.org/2441 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'util')
-rw-r--r--util/cbfstool/Makefile2
1 files changed, 1 insertions, 1 deletions
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