X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=Makefile;h=04c03ab202ae3b50b0f79bed1549cf338ab7df7a;hb=b1bdfaf8b8da39e0aa888643b1998a948f83e7dd;hp=bff8ffe82cd738716cedf233702b5f89ad9f7452;hpb=37d30b56405bf9858e0c1c1baad93105737e7a1b;p=yaboot.git 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. #