From 97c16445b2872b31d08910d3994f4e4ac5262081 Mon Sep 17 00:00:00 2001 From: Federico Di Marco Date: Sun, 8 Oct 2017 09:39:02 +0200 Subject: [PATCH] lftp: compilation bugfix for old openwrt buildroot Signed-off-by: Federico Di Marco --- net/lftp/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/lftp/Makefile b/net/lftp/Makefile index 6b25a3bc5..7a4cd3685 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