1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-26 01:27:41 +02:00

Merge pull request #7601 from neheb/dh

dtndht: Add -std-gnu89 to fix compilation problems.
This commit is contained in:
Hannu Nyman 2018-12-07 17:20:34 +02:00 committed by GitHub
commit c8e7dfe085
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)/