From e94db98e739d247793a9bdc7e69d6d54bd23adb0 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Fri, 9 Feb 2018 16:09:47 +0800 Subject: [PATCH] link bootloader to libgcc (shouldn't be necessary, is necessary...) --- components/bootloader/subproject/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) 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) + -- 2.40.0