mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
ipq5018: Enable stack protection
Change-Id: I1142c32d5c725a188929848d84bb7642ed1c66c9 Signed-off-by: Vandhiadevan <vkarunam@codeaurora.org>
This commit is contained in:
parent
4ae7d14b9d
commit
f0226f2e93
1 changed files with 7 additions and 2 deletions
9
Makefile
9
Makefile
|
|
@ -569,10 +569,15 @@ endif
|
|||
ifdef CONFIG_ARCH_IPQ807x
|
||||
KBUILD_CFLAGS += $(call cc-option,-fstack-protector)
|
||||
else
|
||||
KBUILD_CFLAGS += $(call cc-option, -fno-stack-protector)
|
||||
endif
|
||||
ifdef CONFIG_ARCH_IPQ5018
|
||||
KBUILD_CFLAGS += $(call cc-option,-fstack-protector)
|
||||
else
|
||||
ifdef CONFIG_ARCH_IPQ6018
|
||||
KBUILD_CFLAGS += $(call cc-option,-fstack-protector)
|
||||
else
|
||||
KBUILD_CFLAGS += $(call cc-option, -fno-stack-protector)
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
KBUILD_CFLAGS += $(call cc-option,-fno-delete-null-pointer-checks)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue