mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
makefile: add fstack-protector for devsoc platform
This changes enable fstack-protector flag for devsoc platform. Change-Id: I9726cf5020cbb74346a023b9f4eb8fa908bb417c Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
This commit is contained in:
parent
6761f6cf0d
commit
68b0c0e09d
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
|
@ -578,6 +578,9 @@ else
|
||||||
ifdef CONFIG_ARCH_IPQ5018
|
ifdef CONFIG_ARCH_IPQ5018
|
||||||
KBUILD_CFLAGS += $(call cc-option,-fstack-protector)
|
KBUILD_CFLAGS += $(call cc-option,-fstack-protector)
|
||||||
else
|
else
|
||||||
|
ifdef CONFIG_ARCH_DEVSOC
|
||||||
|
KBUILD_CFLAGS += $(call cc-option,-fstack-protector)
|
||||||
|
else
|
||||||
ifdef CONFIG_ARCH_IPQ6018
|
ifdef CONFIG_ARCH_IPQ6018
|
||||||
KBUILD_CFLAGS += $(call cc-option,-fstack-protector)
|
KBUILD_CFLAGS += $(call cc-option,-fstack-protector)
|
||||||
else
|
else
|
||||||
|
|
@ -589,6 +592,7 @@ endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
KBUILD_CFLAGS += $(call cc-option,-fno-delete-null-pointer-checks)
|
KBUILD_CFLAGS += $(call cc-option,-fno-delete-null-pointer-checks)
|
||||||
|
|
||||||
KBUILD_CFLAGS += -g
|
KBUILD_CFLAGS += -g
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue