diff options
-rw-r--r-- | arch/powerpc/boot/Makefile | 4 |
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) | |||
41 | src-boot := $(addprefix $(obj)/, $(src-boot)) | 41 | src-boot := $(addprefix $(obj)/, $(src-boot)) |
42 | obj-boot := $(addsuffix .o, $(basename $(src-boot))) | 42 | obj-boot := $(addsuffix .o, $(basename $(src-boot))) |
43 | 43 | ||
44 | ifeq ($(call cc-option-yn, -fstack-protector),y) | ||
45 | BOOTCFLAGS += -fno-stack-protector | ||
46 | endif | ||
47 | |||
44 | BOOTCFLAGS += -I$(obj) -I$(srctree)/$(obj) | 48 | BOOTCFLAGS += -I$(obj) -I$(srctree)/$(obj) |
45 | 49 | ||
46 | quiet_cmd_copy_zlib = COPY $@ | 50 | quiet_cmd_copy_zlib = COPY $@ |