[at91] fix dfboot linking failures (#5937)
[openwrt.git] / target / linux / at91 / image / dfboot / Makefile
index 355a4b5..91a603d 100644 (file)
@@ -4,7 +4,6 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
-# $Id$
 
 include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/kernel.mk
@@ -25,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
This page took 0.027778 seconds and 4 git commands to generate.