From 4d543b5aa61558bfd6ad99c7b525e123fc6c3620 Mon Sep 17 00:00:00 2001 From: Jacob Garber Date: Thu, 27 Jun 2019 16:08:38 -0600 Subject: util/cbmem: Enable -Wextra This enables extra useful warnings. Change-Id: I4afbbb0fefb32a7d954aafd87df17075b0abe6f7 Signed-off-by: Jacob Garber Reviewed-on: https://review.coreboot.org/c/coreboot/+/33851 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Martin Roth --- util/cbmem/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/cbmem/Makefile') 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 -- cgit v1.2.3