Merge branch 'bugfix/cmake_stack_protector_v3.1' into 'release/v3.1'

esp32: disable stack protector for startup code (CMake) (backport v3.1)

See merge request idf/esp-idf!4251
This commit is contained in:
Jiang Jiang Jian 2019-03-06 14:19:52 +08:00
commit bc58f4b9ba

View File

@ -142,4 +142,9 @@ else()
endif()
# disable stack protection in files which are involved in initialization of that feature
set_source_files_properties(
stack_check.c cpu_start.c
PROPERTIES COMPILE_FLAGS
-fno-stack-protector)
endif()