From: Rosen Penev Date: Tue, 27 Nov 2018 20:36:21 +0000 (-0800) Subject: dtndht: Add -std-gnu89 to fix compilation problems. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=717423d2804db7eda624125483ecaab9d0610e68;p=feed%2Fpackages.git 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 --- diff --git a/libs/dtndht/Makefile b/libs/dtndht/Makefile index 2b79e4904a..5846249eae 100644 --- a/libs/dtndht/Makefile +++ b/libs/dtndht/Makefile @@ -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)/