summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@gentoo.org>2024-07-12 00:51:21 -0400
committerEli Schwartz <eschwartz@gentoo.org>2024-07-12 01:54:16 -0400
commit1c346c2eebb3e2fb0da7d9c758938d57cdd23adc (patch)
treee22f070cf781e0f81e6262597331577f16d1fdaa /media-tv
parentapp-misc/g15daemon: mark as LTO-unsafe (diff)
downloadgentoo-1c346c2eebb3e2fb0da7d9c758938d57cdd23adc.tar.gz
gentoo-1c346c2eebb3e2fb0da7d9c758938d57cdd23adc.tar.bz2
gentoo-1c346c2eebb3e2fb0da7d9c758938d57cdd23adc.zip
media-tv/tvheadend: mark as LTO-unsafe
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/tvheadend/tvheadend-4.3_p20240618.ebuild6
-rw-r--r--media-tv/tvheadend/tvheadend-9999.ebuild6
2 files changed, 10 insertions, 2 deletions
diff --git a/media-tv/tvheadend/tvheadend-4.3_p20240618.ebuild b/media-tv/tvheadend/tvheadend-4.3_p20240618.ebuild
index e9fefcd6df55..733fd0370d43 100644
--- a/media-tv/tvheadend/tvheadend-4.3_p20240618.ebuild
+++ b/media-tv/tvheadend/tvheadend-4.3_p20240618.ebuild
@@ -6,7 +6,7 @@ EAPI=8
COMMIT="e855f62e6697cf756ad2eed2ed03b8d06ba2019b"
PYTHON_COMPAT=( python3_{10..12} )
-inherit linux-info python-single-r1 systemd toolchain-funcs
+inherit flag-o-matic linux-info python-single-r1 systemd toolchain-funcs
DESCRIPTION="Tvheadend is a TV streaming server and digital video recorder"
HOMEPAGE="https://tvheadend.org/"
@@ -91,6 +91,10 @@ pkg_setup() {
# most of them only take effect when --enable-ffmpeg_static is given.
src_configure() {
+ # -Werror=lto-type-mismatch
+ # https://github.com/tvheadend/tvheadend/issues/1732
+ filter-lto
+
CC="$(tc-getCC)" \
PKG_CONFIG="$(tc-getPKG_CONFIG)" \
econf \
diff --git a/media-tv/tvheadend/tvheadend-9999.ebuild b/media-tv/tvheadend/tvheadend-9999.ebuild
index aa832d625e41..91152498ae00 100644
--- a/media-tv/tvheadend/tvheadend-9999.ebuild
+++ b/media-tv/tvheadend/tvheadend-9999.ebuild
@@ -5,7 +5,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
-inherit git-r3 linux-info python-single-r1 systemd toolchain-funcs
+inherit flag-o-matic git-r3 linux-info python-single-r1 systemd toolchain-funcs
DESCRIPTION="Tvheadend is a TV streaming server and digital video recorder"
HOMEPAGE="https://tvheadend.org/"
@@ -88,6 +88,10 @@ pkg_setup() {
# most of them only take effect when --enable-ffmpeg_static is given.
src_configure() {
+ # -Werror=lto-type-mismatch
+ # https://github.com/tvheadend/tvheadend/issues/1732
+ filter-lto
+
CC="$(tc-getCC)" \
PKG_CONFIG="$(tc-getPKG_CONFIG)" \
econf \