summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorJacob Garber <jgarber1@ualberta.ca>2019-06-27 16:08:38 -0600
committerMartin Roth <martinroth@google.com>2019-07-02 16:11:57 +0000
commit4d543b5aa61558bfd6ad99c7b525e123fc6c3620 (patch)
treea27edad00f8141743e46b67d02f7cfddd5f5b66b /util
parent414d5d8698c2acc1655ba59ff794524cd45e7fb6 (diff)
util/cbmem: Enable -Wextra
This enables extra useful warnings. Change-Id: I4afbbb0fefb32a7d954aafd87df17075b0abe6f7 Signed-off-by: Jacob Garber <jgarber1@ualberta.ca> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33851 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'util')
-rw-r--r--util/cbmem/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cbmem/Makefile b/util/cbmem/Makefile
index eed08a4cb3..e7318a17d4 100644
--- a/util/cbmem/Makefile
+++ b/util/cbmem/Makefile
@@ -19,7 +19,7 @@ CC ?= $(CROSS_COMPILE)gcc
INSTALL ?= /usr/bin/env install
PREFIX ?= /usr/local
CFLAGS ?= -O2
-CFLAGS += -Wall -Werror
+CFLAGS += -Wall -Wextra -Werror
CPPFLAGS += -I . -I $(ROOT)/commonlib/include
CPPFLAGS += -include ../../src/commonlib/include/commonlib/compiler.h