fix(build): fix orphan sections warning kconfig variable

This commit is contained in:
Alexey Lapshin
2024-10-01 12:18:56 +07:00
parent 4f29e3ffe7
commit 40d7068a95
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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()