mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
Merge branch 'fix/kconfig-option-orphan_sections_warning_v5.3' into 'release/v5.3'
fix(build): fix orphan sections warning kconfig variable (v5.3) See merge request espressif/esp-idf!33941
This commit is contained in:
@@ -825,7 +825,7 @@ macro(project project_name)
|
||||
# Do not print RWX segment warnings
|
||||
target_link_options(${project_elf} PRIVATE "-Wl,--no-warn-rwx-segments")
|
||||
endif()
|
||||
if(CONFIG_ESP_ORPHAN_SECTION_WARNING)
|
||||
if(CONFIG_COMPILER_ORPHAN_SECTIONS_WARNING)
|
||||
# Print warnings if orphan sections are found
|
||||
target_link_options(${project_elf} PRIVATE "-Wl,--orphan-handling=warn")
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user