Merge "Disable stack protection explicitly" into integration
This commit is contained in:
commit
494d57e8b8
|
@ -11,7 +11,9 @@ ifeq (${ENABLE_STACK_PROTECTOR},0)
|
||||||
ENABLE_STACK_PROTECTOR := none
|
ENABLE_STACK_PROTECTOR := none
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (${ENABLE_STACK_PROTECTOR},none)
|
ifeq (${ENABLE_STACK_PROTECTOR},none)
|
||||||
|
TF_CFLAGS += -fno-stack-protector
|
||||||
|
else
|
||||||
STACK_PROTECTOR_ENABLED := 1
|
STACK_PROTECTOR_ENABLED := 1
|
||||||
BL_COMMON_SOURCES += lib/stack_protector/stack_protector.c \
|
BL_COMMON_SOURCES += lib/stack_protector/stack_protector.c \
|
||||||
lib/stack_protector/${ARCH}/asm_stack_protector.S
|
lib/stack_protector/${ARCH}/asm_stack_protector.S
|
||||||
|
|
Loading…
Reference in New Issue