Browse Source

ibrdtnd: fix compilation with GCC11

throw() is not compatible with C++17.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 3 years ago
parent
commit
77e696ccdc
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      net/ibrdtnd/Makefile

+ 3
- 1
net/ibrdtnd/Makefile View File

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


Loading…
Cancel
Save