addrwatch: Add -std=gnu89 to fix compilation
authorRosen Penev <rosenp@gmail.com>
Wed, 1 May 2019 21:24:37 +0000 (14:24 -0700)
committerRosen Penev <rosenp@gmail.com>
Wed, 1 May 2019 21:24:37 +0000 (14:24 -0700)
Signed-off-by: Rosen Penev <rosenp@gmail.com>
net/addrwatch/Makefile

index 8b683eeb353bdd9f9e69d23bd539da9869e349d8..4dcce9b39f480b5a3b5709fd1eb9b2a71427b84a 100644 (file)
@@ -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/