diff --git a/target/linux/at91/image/dfboot/Makefile b/target/linux/at91/image/dfboot/Makefile index 344af5d56d..91a603de4e 100644 --- a/target/linux/at91/image/dfboot/Makefile +++ b/target/linux/at91/image/dfboot/Makefile @@ -24,7 +24,8 @@ endef define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) \ $(TARGET_CONFIGURE_OPTS) \ - CFLAGS="$(TARGET_CFLAGS)" + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(LIBGCC_S)" endef define Build/InstallDev