mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 11:44:31 +02:00
Merge branch 'fix/kconfig-option-orphan_sections_warning_v5.2' into 'release/v5.2'
fix(build): fix orphan sections warning kconfig variable (v5.2) See merge request espressif/esp-idf!33942
This commit is contained in:
2
Kconfig
2
Kconfig
@@ -592,7 +592,7 @@ mainmenu "Espressif IoT Development Framework Configuration"
|
||||
config COMPILER_ORPHAN_SECTIONS_WARNING
|
||||
bool "Place with warning"
|
||||
help
|
||||
Places orphan sections without a warning message.
|
||||
Places orphan sections with a warning message.
|
||||
|
||||
config COMPILER_ORPHAN_SECTIONS_PLACE
|
||||
bool "Place silently"
|
||||
|
@@ -720,7 +720,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