Skip to content

Commit 64f9917

Browse files
Lapshinespressif-bot
authored andcommitted
fix(build): fix orphan sections warning kconfig variable
1 parent 884caed commit 64f9917

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ mainmenu "Espressif IoT Development Framework Configuration"
619619
config COMPILER_ORPHAN_SECTIONS_WARNING
620620
bool "Place with warning"
621621
help
622-
Places orphan sections without a warning message.
622+
Places orphan sections with a warning message.
623623

624624
config COMPILER_ORPHAN_SECTIONS_PLACE
625625
bool "Place silently"

tools/cmake/project.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@ macro(project project_name)
825825
# Do not print RWX segment warnings
826826
target_link_options(${project_elf} PRIVATE "-Wl,--no-warn-rwx-segments")
827827
endif()
828-
if(CONFIG_ESP_ORPHAN_SECTION_WARNING)
828+
if(CONFIG_COMPILER_ORPHAN_SECTIONS_WARNING)
829829
# Print warnings if orphan sections are found
830830
target_link_options(${project_elf} PRIVATE "-Wl,--orphan-handling=warn")
831831
endif()

0 commit comments

Comments
 (0)