[package] fix linking failure of mtd-utils on ARM with eglibc, thanks to xl0 for...
authorFlorian Fainelli <florian@openwrt.org>
Wed, 21 Apr 2010 13:34:36 +0000 (13:34 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Wed, 21 Apr 2010 13:34:36 +0000 (13:34 +0000)
SVN-Revision: 21070

utils/mtd-utils/Makefile

index 04b7524..31100d9 100644 (file)
@@ -36,6 +36,7 @@ endef
 MAKE_FLAGS += \
        DESTDIR="$(PKG_INSTALL_DIR)" \
        BUILDDIR="$(PKG_BUILD_DIR)" \
+       LDLIBS+="$(LIBGCC_S)" \
        WITHOUT_XATTR=1
 
 ifeq ($(CONFIG_LINUX_2_4),y)