tvheadend: fix compilation with GCC 7.3

Disable two warnings to enable compilation with GCC 7.3

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
This commit is contained in:
Hannu Nyman 2018-05-01 14:34:21 +03:00
parent 4dd01ce3f7
commit 3ec6114d22
1 changed files with 3 additions and 1 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=tvheadend
PKG_VERSION:=4.0.9
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE_SUBDIR:=$(PKG_NAME)
PKG_SOURCE_VERSION:=v$(PKG_VERSION)
@ -76,6 +76,8 @@ CONFIGURE_ARGS += \
--disable-libav \
--enable-bundle
TARGET_CFLAGS += -Wno-error=pointer-compare -Wno-error=misleading-indentation
define Build/Prepare
$(call Build/Prepare/Default)
echo 'Tvheadend $(shell echo $(PKG_SOURCE_VERSION) | sed "s/^v//")~openwrt$(PKG_RELEASE)' \