Skip to content

Commit 0fb74b1

Browse files
committed
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
2 parents a7668a4 + 64f9917 commit 0fb74b1

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
@@ -641,7 +641,7 @@ mainmenu "Espressif IoT Development Framework Configuration"
641641
config COMPILER_ORPHAN_SECTIONS_WARNING
642642
bool "Place with warning"
643643
help
644-
Places orphan sections without a warning message.
644+
Places orphan sections with a warning message.
645645

646646
config COMPILER_ORPHAN_SECTIONS_PLACE
647647
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)