diff --git a/lib/cortex-m33/lora_fsk/CMakeLists.txt b/lib/cortex-m33/lora_fsk/CMakeLists.txt index fb27e88d9d..e6ec27bf93 100644 --- a/lib/cortex-m33/lora_fsk/CMakeLists.txt +++ b/lib/cortex-m33/lora_fsk/CMakeLists.txt @@ -6,11 +6,6 @@ set(SID_LIB_DIR ${ZEPHYR_BASE}/../sidewalk/lib/cortex-m33/lora_fsk) -set(GCC_LIB_DIR ${ZEPHYR_SDK_INSTALL_DIR}/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi) -find_library(LIB_GCC NAMES gcc libgcc.a HINTS ${GCC_LIB_DIR}/* REQUIRED) - -zephyr_library_link_libraries(${SID_LIB_DIR}/libsid_protocol_all.a - ${LIB_GCC} -) +zephyr_library_link_libraries(${SID_LIB_DIR}/libsid_protocol_all.a) zephyr_link_libraries_ifndef(CONFIG_SIDEWALK_PAL_RADIO_SOURCE ${SID_LIB_DIR}/libsid_pal_radio_sx126x_impl.a) diff --git a/lib/cortex-m4/lora_fsk/CMakeLists.txt b/lib/cortex-m4/lora_fsk/CMakeLists.txt index cd18d0db8d..8c94a09cf4 100644 --- a/lib/cortex-m4/lora_fsk/CMakeLists.txt +++ b/lib/cortex-m4/lora_fsk/CMakeLists.txt @@ -6,11 +6,7 @@ set(SID_LIB_DIR ${ZEPHYR_BASE}/../sidewalk/lib/cortex-m4/lora_fsk) -set(GCC_LIB_DIR ${ZEPHYR_SDK_INSTALL_DIR}/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi) -find_library(LIB_GCC NAMES gcc libgcc.a HINTS ${GCC_LIB_DIR}/* REQUIRED) -zephyr_library_link_libraries(${SID_LIB_DIR}/libsid_protocol_all.a - ${LIB_GCC} -) +zephyr_library_link_libraries(${SID_LIB_DIR}/libsid_protocol_all.a) zephyr_link_libraries_ifndef(CONFIG_SIDEWALK_PAL_RADIO_SOURCE ${SID_LIB_DIR}/libsid_pal_radio_sx126x_impl.a)