mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 12:14:32 +02:00
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:
@@ -142,4 +142,9 @@ else()
|
|||||||
|
|
||||||
endif()
|
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()
|
endif()
|
||||||
|
Reference in New Issue
Block a user