diff --git a/Makefile b/Makefile index 61340e5dec..4137725b8b 100644 --- a/Makefile +++ b/Makefile @@ -581,10 +581,14 @@ else ifdef CONFIG_ARCH_IPQ6018 KBUILD_CFLAGS += $(call cc-option,-fstack-protector) else +ifdef CONFIG_ARCH_IPQ9048 +KBUILD_CFLAGS += $(call cc-option,-fstack-protector) +else KBUILD_CFLAGS += $(call cc-option, -fno-stack-protector) endif endif endif +endif KBUILD_CFLAGS += $(call cc-option,-fno-delete-null-pointer-checks) KBUILD_CFLAGS += -g