From: Hannu Nyman Date: Tue, 1 May 2018 11:34:21 +0000 (+0300) Subject: tvheadend: fix compilation with GCC 7.3 X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=3ec6114d22c5c5787b930b810584280ec3bbdfc2;p=openwrt-packages.git tvheadend: fix compilation with GCC 7.3 Disable two warnings to enable compilation with GCC 7.3 Signed-off-by: Hannu Nyman --- diff --git a/multimedia/tvheadend/Makefile b/multimedia/tvheadend/Makefile index 4523fa082..351ec6b61 100644 --- a/multimedia/tvheadend/Makefile +++ b/multimedia/tvheadend/Makefile @@ -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)' \