From f80cce7bb9794f143e190768ed0d63e7433c7cd7 Mon Sep 17 00:00:00 2001 From: Mahavir Jain Date: Thu, 6 Jun 2019 18:51:52 +0530 Subject: [PATCH] esp_common: fix stack protection crash due to incorrect CFLAG --- components/esp_common/component.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))