diff options
author | Dan Ziemba | 2018-05-31 21:19:18 -0400 |
---|---|---|
committer | Dan Ziemba | 2018-05-31 21:19:18 -0400 |
commit | 472912d01743495c10fe3a25bbaec3cfa23666ac (patch) | |
tree | 5c9ac69c8e56cb6ba2e56d6b807a16efe19e2d8c /PKGBUILD | |
parent | a5c44c69662dadce990a4089221068125787a831 (diff) | |
download | aur-472912d01743495c10fe3a25bbaec3cfa23666ac.tar.gz |
Prevent error on new GCC 8 warnings
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -10,7 +10,7 @@ pkgname=tvheadend-git _gitname='tvheadend-git' pkgver=4.3.r1252.g595fd174f -pkgrel=1 +pkgrel=2 pkgdesc="TV streaming server for Linux" arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64') url="https://tvheadend.org/" @@ -44,6 +44,13 @@ prepare() { build() { cd "${srcdir}/${_gitname}" + + # "Fix" build with GCC 8 + CFLAGS="${CFLAGS} \ + -Wno-error=stringop-truncation \ + -Wno-error=stringop-overflow \ + -Wno-error=discarded-qualifiers" + ./configure --prefix=/usr --mandir=/usr/share/man/man1 --release \ --python=python3 \ --enable-avahi \ |