Commit 5400b509 authored by Catalin Marinas's avatar Catalin Marinas

Compile the uncompressing code with -fno-builtin

This is to avoid a compiler warning for overriding the built-in "putc"
function.
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent 7023ef1c
...@@ -75,7 +75,7 @@ SEDFLAGS = s/TEXT_START/$(ZTEXTADDR)/;s/BSS_START/$(ZBSSADDR)/ ...@@ -75,7 +75,7 @@ SEDFLAGS = s/TEXT_START/$(ZTEXTADDR)/;s/BSS_START/$(ZBSSADDR)/
targets := vmlinux vmlinux.lds piggy.gz piggy.o $(FONT) \ targets := vmlinux vmlinux.lds piggy.gz piggy.o $(FONT) \
head.o misc.o $(OBJS) head.o misc.o $(OBJS)
EXTRA_CFLAGS := -fpic EXTRA_CFLAGS := -fpic -fno-builtin
EXTRA_AFLAGS := EXTRA_AFLAGS :=
# Supply ZRELADDR, INITRD_PHYS and PARAMS_PHYS to the decompressor via # Supply ZRELADDR, INITRD_PHYS and PARAMS_PHYS to the decompressor via
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment