From: Rosen Penev Date: Wed, 1 May 2019 21:24:37 +0000 (-0700) Subject: addrwatch: Add -std=gnu89 to fix compilation X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=fb9238b61d2792ccebd2b8fb3f220befc6a2b458;p=feed%2Fpackages.git addrwatch: Add -std=gnu89 to fix compilation Signed-off-by: Rosen Penev --- diff --git a/net/addrwatch/Makefile b/net/addrwatch/Makefile index 8b683eeb35..4dcce9b39f 100644 --- a/net/addrwatch/Makefile +++ b/net/addrwatch/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=addrwatch PKG_VERSION:=0.8 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-master.tar.gz PKG_SOURCE_URL:=https://github.com/fln/addrwatch/releases/download/$(PKG_VERSION)/ @@ -42,6 +42,8 @@ define Package/addrwatch/conffiles /etc/config/addrwatch endef +TARGET_CFLAGS += -std=gnu89 + define Package/addrwatch/install $(INSTALL_DIR) $(1)/usr/sbin $(1)/etc/config $(1)/etc/init.d $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/addrwatch $(1)/usr/sbin/