diff --git a/components/esp_common/component.mk b/components/esp_common/component.mk index d01f1253f6..64c67abcc5 100644 --- a/components/esp_common/component.mk +++ b/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))