util/cbmem: Enable -Wmissing-prototypes
Change-Id: Ia8482dc9b6ad800826152c2d3e9813190b0b574e Signed-off-by: Jacob Garber <jgarber1@ualberta.ca> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33853 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
79a2f4767d
commit
0476332161
|
@ -19,7 +19,7 @@ CC ?= $(CROSS_COMPILE)gcc
|
||||||
INSTALL ?= /usr/bin/env install
|
INSTALL ?= /usr/bin/env install
|
||||||
PREFIX ?= /usr/local
|
PREFIX ?= /usr/local
|
||||||
CFLAGS ?= -O2
|
CFLAGS ?= -O2
|
||||||
CFLAGS += -Wall -Wextra -Werror
|
CFLAGS += -Wall -Wextra -Wmissing-prototypes -Werror
|
||||||
CPPFLAGS += -I . -I $(ROOT)/commonlib/include
|
CPPFLAGS += -I . -I $(ROOT)/commonlib/include
|
||||||
CPPFLAGS += -include ../../src/commonlib/include/commonlib/compiler.h
|
CPPFLAGS += -include ../../src/commonlib/include/commonlib/compiler.h
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue