From: Rosen Penev Date: Wed, 7 Jul 2021 20:37:55 +0000 (-0700) Subject: ibrdtn-tools: fix compilation with GCC11 X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=20d01239c7c856eaaaae1dabf5c8a8de51821351;p=openwrt-packages.git ibrdtn-tools: fix compilation with GCC11 throw() is not supported with C++17. Signed-off-by: Rosen Penev --- diff --git a/net/ibrdtn-tools/Makefile b/net/ibrdtn-tools/Makefile index f717f277a..8286b9bb3 100644 --- a/net/ibrdtn-tools/Makefile +++ b/net/ibrdtn-tools/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ibrdtn-tools PKG_VERSION:=1.0.1 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.ibr.cs.tu-bs.de/projects/ibr-dtn/releases @@ -36,6 +36,8 @@ endef CONFIGURE_ARGS += \ --without-libdaemon +TARGET_CXXFLAGS += -std=c++11 + define Package/ibrdtn-tools/install $(INSTALL_DIR) $(1)/usr/bin/ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dtnping $(1)/usr/bin/dtnping