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:
parent
414d5d8698
commit
4d543b5aa6
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue