diff --git a/Kconfig b/Kconfig index 652df83edd..028061232e 100644 --- a/Kconfig +++ b/Kconfig @@ -641,7 +641,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" diff --git a/tools/cmake/project.cmake b/tools/cmake/project.cmake index c253a7008d..cb70e61e77 100644 --- a/tools/cmake/project.cmake +++ b/tools/cmake/project.cmake @@ -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()