From e3b89b6f5d1dc4561b3a9cba4974785d687df174 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Tue, 6 Jul 2021 20:54:09 -0700 Subject: [PATCH] ibrcommon: fix compilation with GCC11 GCC11 defaults to C++17, which does not allow throw specifiers. Signed-off-by: Rosen Penev --- libs/ibrcommon/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/ibrcommon/Makefile b/libs/ibrcommon/Makefile index 43e26252d..b1adfd39f 100644 --- a/libs/ibrcommon/Makefile +++ b/libs/ibrcommon/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ibrcommon PKG_VERSION:=1.0.1 -PKG_RELEASE:=8 +PKG_RELEASE:=9 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.ibr.cs.tu-bs.de/projects/ibr-dtn/releases @@ -32,6 +32,8 @@ endef CONFIGURE_ARGS += \ --with-openssl +TARGET_CXXFLAGS += -std=c++11 + define Package/ibrcommon/description A library with common functions for C++. endef