aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/boot/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile
index d961bfeed05f..afc776f821e5 100644
--- a/arch/powerpc/boot/Makefile
+++ b/arch/powerpc/boot/Makefile
@@ -41,6 +41,10 @@ src-boot += $(zlib)
41src-boot := $(addprefix $(obj)/, $(src-boot)) 41src-boot := $(addprefix $(obj)/, $(src-boot))
42obj-boot := $(addsuffix .o, $(basename $(src-boot))) 42obj-boot := $(addsuffix .o, $(basename $(src-boot)))
43 43
44ifeq ($(call cc-option-yn, -fstack-protector),y)
45BOOTCFLAGS += -fno-stack-protector
46endif
47
44BOOTCFLAGS += -I$(obj) -I$(srctree)/$(obj) 48BOOTCFLAGS += -I$(obj) -I$(srctree)/$(obj)
45 49
46quiet_cmd_copy_zlib = COPY $@ 50quiet_cmd_copy_zlib = COPY $@