xmail: add $(LIBGCC_S) to fix ARM EABI compile errors
authorFelix Fietkau <nbd@openwrt.org>
Thu, 19 Aug 2010 15:57:45 +0000 (15:57 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 19 Aug 2010 15:57:45 +0000 (15:57 +0000)
SVN-Revision: 22729

mail/xmail/Makefile

index fb316b3..8716e37 100644 (file)
@@ -37,7 +37,7 @@ define Build/Compile
                $(TARGET_CONFIGURE_OPTS) \
                LD="\$$$$(CC)" \
                CPPFLAGS="$(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/include/uClibc++ -fno-builtin -fno-rtti -nostdinc++" \
-               LDFLAGS="$(TARGET_LDFLAGS) -nodefaultlibs -lcrypto -lssl -luClibc++ -ldl -lm -lpthread" \
+               LDFLAGS="$(TARGET_LDFLAGS) -nodefaultlibs -lcrypto -lssl -luClibc++ -ldl -lm -lpthread $(LIBGCC_S)" \
                all
        tar -cjf $(PKG_BUILD_DIR)/MailRoot.tar.bz2 -C $(PKG_BUILD_DIR)/MailRoot --exclude bin .
 endef