From: Rosen Penev Date: Wed, 7 Jul 2021 04:11:40 +0000 (-0700) Subject: ibrdtn: fix compilation with GCC11 X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=f2313569b63c2b22bd940cd3a88dfcb384e25f96;p=openwrt-packages.git ibrdtn: fix compilation with GCC11 GCC11 defaults to C++17, which does now allow specifying throw(). Signed-off-by: Rosen Penev --- diff --git a/libs/ibrdtn/Makefile b/libs/ibrdtn/Makefile index d85b2573a..a318084ab 100644 --- a/libs/ibrdtn/Makefile +++ b/libs/ibrdtn/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ibrdtn 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 @@ -37,6 +37,8 @@ CONFIGURE_ARGS += \ --with-compression \ --without-glib +TARGET_CXXFLAGS +=-std=c++11 + define Build/InstallDev $(INSTALL_DIR) $(1) $(CP) $(PKG_INSTALL_DIR)/* $(1)/