diff --git a/Kconfig b/Kconfig index 1d9e813748..b20e3b7318 100644 --- a/Kconfig +++ b/Kconfig @@ -625,7 +625,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 4ac275381b..da79ba2f73 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()