From: Tony Breeds Date: Tue, 18 Oct 2011 00:52:47 +0000 (+1100) Subject: make: Update CFLAGS to for -Werror. X-Git-Tag: yaboot-1.3.17~3 X-Git-Url: http://git.ozlabs.org/?p=yaboot.git;a=commitdiff_plain;h=b1bdfaf8b8da39e0aa888643b1998a948f83e7dd make: Update CFLAGS to for -Werror. Should stop warnings creeping in. Signed-off-by: Tony Breeds --- 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. #