Merge branch 'bugfix/stack_protection_crash_due_to_incorrect_cflag' into 'master'

esp_common: fix stack protection crash due to incorrect CFLAG

See merge request idf/esp-idf!5155
This commit is contained in:
Mahavir Jain 2019-06-10 11:43:31 +08:00
commit e701f96bf5

View File

@ -6,4 +6,4 @@ COMPONENT_ADD_INCLUDEDIRS := include
COMPONENT_SRCDIRS := src COMPONENT_SRCDIRS := src
# disable stack protection in files which are involved in initialization of that feature # disable stack protection in files which are involved in initialization of that feature
stack_check.o: CFLAGS := $(filter-out -fstack-protector%, $(CFLAGS)) src/stack_check.o: CFLAGS := $(filter-out -fstack-protector%, $(CFLAGS))