diff --git a/components/bootloader/subproject/CMakeLists.txt b/components/bootloader/subproject/CMakeLists.txt index f3cc23ac13..ae24d8ceeb 100644 --- a/components/bootloader/subproject/CMakeLists.txt +++ b/components/bootloader/subproject/CMakeLists.txt @@ -20,3 +20,5 @@ target_link_libraries(bootloader.elf "-L ${CMAKE_CURRENT_SOURCE_DIR}/main") target_link_libraries(bootloader.elf "-T esp32.bootloader.ld") target_link_libraries(bootloader.elf "-T esp32.bootloader.rom.ld") target_link_libraries(bootloader.elf "${BOOTLOADER_LINKER_ARGS}") +target_link_libraries(bootloader.elf gcc) +