[package] fix linking failure of mtd-utils on ARM with eglibc, thanks to xl0 for...
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 21 Apr 2010 13:34:36 +0000 (13:34 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 21 Apr 2010 13:34:36 +0000 (13:34 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@21070 3c298f89-4303-0410-b956-a3cf2f4a3e73

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)