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:
parent
4dd01ce3f7
commit
3ec6114d22
|
@ -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)' \
|
||||
|
|
Loading…
Reference in New Issue