mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
media-tv/mythtv: filter LTO
Initially found 0fe8f246b7758fc01ae044ed99af1e4ca19b4042 via this when looking to sync with ffmpeg but turns out there's mythtv-specific lto-type-mismatch issues so nevermind. Closes: https://bugs.gentoo.org/860987 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
166dd35759
commit
b0e387303c
@ -273,6 +273,13 @@ src_configure() {
|
||||
myconf+=( --enable-symbol-visibility )
|
||||
myconf+=( --enable-pic )
|
||||
|
||||
# libavformat/format.c:37:22: error: type of 'ff_mythtv_mpegtsraw_demuxer' does not match original declaration [-Werror=lto-type-mismatch]
|
||||
# libavformat/mpegts-mythtv.c:3731:21: note: type 'const struct FFInputFormat' should match type 'struct AVInputFormat'
|
||||
filter-lto
|
||||
|
||||
# Needed just like ffmpeg (bug #860987)
|
||||
tc-is-lto && myconf+=( --enable-lto )
|
||||
|
||||
if tc-is-cross-compiler ; then
|
||||
myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) )
|
||||
myconf+=( --cross-prefix="${CHOST}"- )
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user