X-Git-Url: http://git.ozlabs.org/?p=yaboot.git;a=blobdiff_plain;f=Makefile;h=f3b46a5f02ddebc2e0141445425ddfe54ae9dea3;hp=bff8ffe82cd738716cedf233702b5f89ad9f7452;hb=HEAD;hpb=7822500e80ce7b25925974b63fa525197c68a434 diff --git a/Makefile b/Makefile index bff8ffe..f3b46a5 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ include Config -VERSION = 1.3.16 +VERSION = 1.3.17 # Debug mode (spam/verbose) DEBUG = 0 # make install vars @@ -39,7 +39,9 @@ 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 +YBCFLAGS += -fno-strict-aliasing ifeq ($(CONFIG_COLOR_TEXT),y) YBCFLAGS += -DCONFIG_COLOR_TEXT @@ -72,6 +74,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. #