Преглед изворни кода

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
Mahavir Jain пре 6 година
родитељ
комит
e701f96bf5
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      components/esp_common/component.mk

+ 1 - 1
components/esp_common/component.mk

@@ -6,4 +6,4 @@ COMPONENT_ADD_INCLUDEDIRS := include
 COMPONENT_SRCDIRS := src
 
 # 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))