ipq9048: Enable stack protection

Signed-off-by: anusha <anusharao@codeaurora.org>
Change-Id: I2bb047b4425b4d04c6d38ec982a117f6f5deac37
This commit is contained in:
anusha 2021-01-13 12:23:37 +05:30
parent 15fd656acb
commit bdec9657cc

View file

@ -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