From b1bdfaf8b8da39e0aa888643b1998a948f83e7dd Mon Sep 17 00:00:00 2001 From: Tony Breeds Date: Tue, 18 Oct 2011 11:52:47 +1100 Subject: [PATCH] make: Update CFLAGS to for -Werror. Should stop warnings creeping in. Signed-off-by: Tony Breeds --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index bff8ffe..04c03ab 100644 --- a/Makefile +++ b/Makefile @@ -39,6 +39,7 @@ YBCFLAGS += -DVERSION="\"${VERSION}${VERSIONEXTRA}\"" YBCFLAGS += -DTEXTADDR=$(TEXTADDR) -DDEBUG=$(DEBUG) YBCFLAGS += -DMALLOCADDR=$(MALLOCADDR) -DMALLOCSIZE=$(MALLOCSIZE) YBCFLAGS += -DKERNELADDR=$(KERNELADDR) +YBCFLAGS += -Werror -fdiagnostics-show-option YBCFLAGS += -I ./include ifeq ($(CONFIG_COLOR_TEXT),y) @@ -72,6 +73,7 @@ LLIBS = -lext2fs # For compiling userland utils # UCFLAGS = -Os $(CFLAGS) -Wall -I/usr/include +UCFLAGS += -Werror -fdiagnostics-show-option # For compiling build-tools that run on the host. # -- 2.39.2