From f2313569b63c2b22bd940cd3a88dfcb384e25f96 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Tue, 6 Jul 2021 21:11:40 -0700 Subject: [PATCH] ibrdtn: fix compilation with GCC11 GCC11 defaults to C++17, which does now allow specifying throw(). Signed-off-by: Rosen Penev --- libs/ibrdtn/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)/