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>
This commit is contained in:
Jacob Garber 2019-06-27 16:08:38 -06:00 committed by Martin Roth
parent 414d5d8698
commit 4d543b5aa6
1 changed files with 1 additions and 1 deletions

View File

@ -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