mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
837052c86f
Restores the change of startup refactor changes removed the no stack check protection flag when compiling the source file that contains execution of constructors - which contains function to setup stack guard. Restore that and update the source file, since this is in the 2nd stage of the startup now. Closes https://github.com/espressif/esp-idf/issues/5617
11 lines
397 B
Makefile
11 lines
397 B
Makefile
SOC_NAME := $(IDF_TARGET)
|
|
|
|
COMPONENT_SRCDIRS := .
|
|
COMPONENT_ADD_INCLUDEDIRS := include
|
|
COMPONENT_PRIV_INCLUDEDIRS := private_include port/include
|
|
COMPONENT_ADD_LDFRAGMENTS += linker.lf
|
|
|
|
-include $(COMPONENT_PATH)/port/$(SOC_NAME)/component.mk
|
|
|
|
# disable stack protection in files which are involved in initialization of that feature
|
|
startup.o: CFLAGS := $(filter-out -fstack-protector%, $(CFLAGS)) |