ibrcommon: fix compilation with GCC11 16096/head
authorRosen Penev <rosenp@gmail.com>
Wed, 7 Jul 2021 03:54:09 +0000 (20:54 -0700)
committerRosen Penev <rosenp@gmail.com>
Sun, 11 Jul 2021 07:24:21 +0000 (00:24 -0700)
GCC11 defaults to C++17, which does not allow throw specifiers.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
libs/ibrcommon/Makefile

index 43e26252d9671c88072a244097d8fc34ae7f8c6e..b1adfd39fd8cbc804a66b8bd1565b22a8481d0df 100644 (file)
@@ -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