summaryrefslogtreecommitdiff
path: root/target/linux/at91
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-10-29 15:48:34 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-10-29 15:48:34 +0000
commit77e195a2cb0ec009e4f1c7579a021181157b1441 (patch)
tree06e6d976016b509b745c54881c0fe0a7a3aeb8bd /target/linux/at91
parent411d1ba1bbfc183121891e8e8206a0be4fd5c694 (diff)
downloadmtk-20170518-77e195a2cb0ec009e4f1c7579a021181157b1441.zip
mtk-20170518-77e195a2cb0ec009e4f1c7579a021181157b1441.tar.gz
mtk-20170518-77e195a2cb0ec009e4f1c7579a021181157b1441.tar.bz2
fix dfboot linking failures (#5937)
SVN-Revision: 18206
Diffstat (limited to 'target/linux/at91')
-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 344af5d..91a603d 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