Browse Source

dtndht: Add -std-gnu89 to fix compilation problems.

bootstrapping.c:225:6: warning: implicit declaration of function 'blacklist_is_enabled' [-Wimplicit-function-declaration]
bootstrapping.c:226:3: warning: implicit declaration of function 'blacklist_blacklist_id'; did you mean 'dht_blacklisted'? [-Wimplicit-function-declaration]

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 6 years ago
parent
commit
717423d280
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      libs/dtndht/Makefile

+ 3
- 1
libs/dtndht/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=dtndht PKG_NAME:=dtndht
PKG_VERSION:=0.2.3 PKG_VERSION:=0.2.3
PKG_RELEASE:=1
PKG_RELEASE:=2
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
@ -33,6 +33,8 @@ define Package/dtndht/description
A library with DHT functions for DTN name lookups. A library with DHT functions for DTN name lookups.
endef endef
TARGET_CFLAGS += -std=gnu89
define Build/InstallDev define Build/InstallDev
$(INSTALL_DIR) $(1) $(INSTALL_DIR) $(1)
$(CP) $(PKG_INSTALL_DIR)/* $(1)/ $(CP) $(PKG_INSTALL_DIR)/* $(1)/


Loading…
Cancel
Save