fix linking failure of mtd-utils on ARM with eglibc, thanks to xl0 for testing.
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 04b7524794ab95173e7cf9aed47f7967200742d5..31100d95789b4914836de7264db032a4a0fd3c91 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)