From 16f623b38765bb6218fd622d4d3ae92da4d9ae0e Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 9 Jan 2019 15:59:29 -0800 Subject: [PATCH] rtl-ais: Fix compilation on i386 The code from 1996 is using pre-c99 inline semantics that cause compilation failures on i386. Added std-gnu89 to fix this. Signed-off-by: Rosen Penev --- utils/rtl-ais/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/utils/rtl-ais/Makefile b/utils/rtl-ais/Makefile index 2f64815e7..13f6f1387 100644 --- a/utils/rtl-ais/Makefile +++ b/utils/rtl-ais/Makefile @@ -8,17 +8,16 @@ include $(TOPDIR)/rules.mk PKG_NAME:=rtl-ais PKG_VERSION:=0.3 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/dgiardini/rtl-ais/tar.gz/v$(PKG_VERSION)? PKG_HASH:=01e2b675226ec403c409cec8b55999008f5c7aa9e82d6c0ba085ef13b200ceb1 +PKG_MAINTAINER:=Nuno Goncalves PKG_LICENSE:=GPL-2.0+ PKG_LICENSE_FILES:=COPYING -PKG_MAINTAINER:=Nuno Goncalves - include $(INCLUDE_DIR)/package.mk define Package/rtl-ais @@ -38,6 +37,8 @@ define Package/rtl-ais/conffiles /etc/config/rtl_ais endef +TARGET_CFLAGS += -std=gnu89 + define Package/rtl-ais/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_BUILD_DIR)/rtl_ais $(1)/usr/bin/