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 <rosenp@gmail.com>
(cherry-picked from 16f623b387
)
This commit is contained in:
parent
de750bba0c
commit
1fec7ea23b
1 changed files with 4 additions and 4 deletions
|
@ -8,8 +8,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=rtl-ais
|
||||
PKG_VERSION:=20151213
|
||||
|
||||
PKG_RELEASE=$(PKG_SOURCE_VERSION)
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://github.com/dgiardini/rtl-ais.git
|
||||
|
@ -18,11 +17,10 @@ PKG_SOURCE_VERSION:=b805be0164475e58a73b57763a8cbbf8a2bd0ded
|
|||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
|
||||
PKG_MIRROR_HASH:=0bf15869935e4496108ade4f7e9c1f7990b11ce53c9c1e0c9e81bc7f082b33b5
|
||||
|
||||
PKG_MAINTAINER:=Nuno Goncalves <nunojpg@gmail.com>
|
||||
PKG_LICENSE:=GPL-2.0+
|
||||
PKG_LICENSE_FILES:=COPYING
|
||||
|
||||
PKG_MAINTAINER:=Nuno Goncalves <nunojpg@gmail.com>
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/rtl-ais
|
||||
|
@ -42,6 +40,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/
|
||||
|
|
Loading…
Reference in a new issue