mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 01:29:21 -04:00
Merge branch 'fix/kconfig-option-orphan_sections_warning' into 'master'
fix(build): fix orphan sections warning kconfig variable See merge request espressif/esp-idf!32765
This commit is contained in:
commit
0fb74b17ab
2
Kconfig
2
Kconfig
@ -641,7 +641,7 @@ mainmenu "Espressif IoT Development Framework Configuration"
|
|||||||
config COMPILER_ORPHAN_SECTIONS_WARNING
|
config COMPILER_ORPHAN_SECTIONS_WARNING
|
||||||
bool "Place with warning"
|
bool "Place with warning"
|
||||||
help
|
help
|
||||||
Places orphan sections without a warning message.
|
Places orphan sections with a warning message.
|
||||||
|
|
||||||
config COMPILER_ORPHAN_SECTIONS_PLACE
|
config COMPILER_ORPHAN_SECTIONS_PLACE
|
||||||
bool "Place silently"
|
bool "Place silently"
|
||||||
|
@ -825,7 +825,7 @@ macro(project project_name)
|
|||||||
# Do not print RWX segment warnings
|
# Do not print RWX segment warnings
|
||||||
target_link_options(${project_elf} PRIVATE "-Wl,--no-warn-rwx-segments")
|
target_link_options(${project_elf} PRIVATE "-Wl,--no-warn-rwx-segments")
|
||||||
endif()
|
endif()
|
||||||
if(CONFIG_ESP_ORPHAN_SECTION_WARNING)
|
if(CONFIG_COMPILER_ORPHAN_SECTIONS_WARNING)
|
||||||
# Print warnings if orphan sections are found
|
# Print warnings if orphan sections are found
|
||||||
target_link_options(${project_elf} PRIVATE "-Wl,--orphan-handling=warn")
|
target_link_options(${project_elf} PRIVATE "-Wl,--orphan-handling=warn")
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user