summaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/at91/image/dfboot/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/at91/image/dfboot/Makefile b/target/linux/at91/image/dfboot/Makefile
index 344af5d56..91a603de4 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