Browse Source

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>
lilik-openwrt-22.03
Rosen Penev 6 years ago
committed by Nuno Goncalves
parent
commit
16f623b387
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      utils/rtl-ais/Makefile

+ 4
- 3
utils/rtl-ais/Makefile View File

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


Loading…
Cancel
Save