ipq6018: enable stack protection canary
Change-Id: I5d3fe619892ef2ee72abbd0b5fa388892140a35e
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
diff --git a/Makefile b/Makefile
index 9bb51c6..92558ea 100644
--- a/Makefile
+++ b/Makefile
@@ -571,6 +571,9 @@
else
KBUILD_CFLAGS += $(call cc-option, -fno-stack-protector)
endif
+ifdef CONFIG_ARCH_IPQ6018
+KBUILD_CFLAGS += $(call cc-option,-fstack-protector)
+endif
KBUILD_CFLAGS += $(call cc-option,-fno-delete-null-pointer-checks)
KBUILD_CFLAGS += -g