ibrdtnd: fix compilation with GCC11
authorRosen Penev <rosenp@gmail.com>
Wed, 7 Jul 2021 20:36:49 +0000 (13:36 -0700)
committerRosen Penev <rosenp@gmail.com>
Sun, 11 Jul 2021 07:23:55 +0000 (00:23 -0700)
throw() is not compatible with C++17.

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

index c23bc325c7c1c673632924a5c76f29b1ea45ef10..f3e4bb5d0a3eff14ce25acdfae5b22e7e0ce1bf8 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ibrdtnd
 PKG_VERSION:=1.0.1
-PKG_RELEASE:=6
+PKG_RELEASE:=7
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.ibr.cs.tu-bs.de/projects/ibr-dtn/releases
@@ -46,6 +46,8 @@ CONFIGURE_ARGS += \
        --without-vmime \
        --disable-libdaemon
 
+TARGET_CXXFLAGS += -std=c++11
+
 define Package/ibrdtnd/install
        $(INSTALL_DIR) $(1)/usr/sbin/
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/dtnd $(1)/usr/sbin/