lftp libc++ fix
authorJohn Crispin <john@openwrt.org>
Sat, 4 Aug 2012 18:42:05 +0000 (18:42 +0000)
committerJohn Crispin <john@openwrt.org>
Sat, 4 Aug 2012 18:42:05 +0000 (18:42 +0000)
SVN-Revision: 32987

net/lftp/Makefile

index 46e1b4055939fa54f86394d4ff7eab7ada7161fc..9503f70466feea0cb658e6ebe6de82c45baffa74 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=lftp
 PKG_VERSION:=4.3.6
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=http://lftp.cybermirror.org \
@@ -46,14 +46,11 @@ CONFIGURE_ARGS += \
        --disable-static
 
 CONFIGURE_VARS += \
-       CXXFLAGS="$$$$CXXFLAGS -fno-builtin -I$(STAGING_DIR)/usr/include/uClibc++ -nostdinc++" \
-       CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/uClibc++" \
-       LDFLAGS="$$$$LDFLAGS" \
-       LIBS="-nodefaultlibs -lc -lz -lutil -lc -luClibc++ -lcurses $(LIBGCC_S) -ldl" \
+       LIBS="-lz -lutil -lcurses -ldl" \
        i_cv_posix_fallocate_works=no
 
 MAKE_VARS += \
-       LD="\$$$$(CC)"
+       LD="$(TARGET_CXX)"
 
 define Package/lftp/install
        $(INSTALL_DIR) $(1)/usr/bin