X-Git-Url: http://git.ozlabs.org/?p=yaboot.git;a=blobdiff_plain;f=Makefile;h=f3b46a5f02ddebc2e0141445425ddfe54ae9dea3;hp=44cec276ae12238a378175bd4be6553b33319125;hb=ad973226cb9266ce5cf6946833387c0549c4f3f2;hpb=5c094516ec3158e147d3448b61b588814ed66f97 diff --git a/Makefile b/Makefile index 44cec27..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 @@ -35,11 +35,13 @@ OBJCOPY := $(CROSS)objcopy # The flags for the yaboot binary. # YBCFLAGS = -Os -m32 $(CFLAGS) -nostdinc -Wall -isystem `$(CC) -m32 -print-file-name=include` -fsigned-char -YBCFLAGS += -DVERSION=\"${VERSION}${VERSIONEXTRA}\" #" +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. #