From 3ec6114d22c5c5787b930b810584280ec3bbdfc2 Mon Sep 17 00:00:00 2001 From: Hannu Nyman Date: Tue, 1 May 2018 14:34:21 +0300 Subject: [PATCH] tvheadend: fix compilation with GCC 7.3 Disable two warnings to enable compilation with GCC 7.3 Signed-off-by: Hannu Nyman --- multimedia/tvheadend/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/multimedia/tvheadend/Makefile b/multimedia/tvheadend/Makefile index 4523fa082c..351ec6b61d 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)' \