From: champtar Date: Sun, 8 Oct 2017 15:24:28 +0000 (-0700) Subject: Merge pull request #4899 from fededim/master X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=9327639722e591fa5bd476d8ab0ec519def6395c;hp=5c1be8ee05baceea56443837e5a2f4d3cf43d4fa;p=feed%2Fpackages.git Merge pull request #4899 from fededim/master lftp: compilation bugfix for old openwrt buildroot --- diff --git a/net/lftp/Makefile b/net/lftp/Makefile index 6b25a3bc5f..7a4cd3685d 100644 --- a/net/lftp/Makefile +++ b/net/lftp/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=lftp PKG_VERSION:=4.8.2 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=http://lftp.tech/ftp/ \ https://mirror.csclub.uwaterloo.ca/gentoo-distfiles/distfiles/ @@ -53,7 +53,7 @@ CONFIGURE_ARGS += \ --with-zlib="$(STAGING_DIR)/usr" \ --disable-static -EXTRA_CXXFLAGS += -std=c++0x +TARGET_CXXFLAGS+= -std=c++11 define Package/lftp/install $(INSTALL_DIR) $(1)/usr/bin