dtndht: Add -std-gnu89 to fix compilation problems. 7601/head
authorRosen Penev <rosenp@gmail.com>
Tue, 27 Nov 2018 20:36:21 +0000 (12:36 -0800)
committerRosen Penev <rosenp@gmail.com>
Thu, 6 Dec 2018 21:52:45 +0000 (13:52 -0800)
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>
libs/dtndht/Makefile

index 2b79e4904a9c761d1a3047082e5f93138b1e723a..5846249eae560b211d3e05b5ac2d3fa1fa5c3cb5 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=dtndht
 PKG_VERSION:=0.2.3
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 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.
 endef
 
+TARGET_CFLAGS += -std=gnu89
+
 define Build/InstallDev
        $(INSTALL_DIR) $(1)
        $(CP) $(PKG_INSTALL_DIR)/* $(1)/