diff options
author | Alexis Ballier <aballier@gentoo.org> | 2016-01-05 09:26:56 +0100 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2016-01-05 09:27:02 +0100 |
commit | caed356beda25dacd829f7988c2b8b1011583111 (patch) | |
tree | 8716ece750e1983b69fda9df9d2016244cff107c /media-video | |
parent | media-video/mkvtoolnix: bump to 8.7.0 (diff) | |
download | gentoo-caed356beda25dacd829f7988c2b8b1011583111.tar.gz gentoo-caed356beda25dacd829f7988c2b8b1011583111.tar.bz2 gentoo-caed356beda25dacd829f7988c2b8b1011583111.zip |
media-video/ffmpeg: Pass --enable-lto to configure if -flto is in *FLAGS.
Fixes build with lto.
https://bugs.gentoo.org/show_bug.cgi?id=566282
Package-Manager: portage-2.2.26
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/ffmpeg/ffmpeg-2.8.4.ebuild | 3 | ||||
-rw-r--r-- | media-video/ffmpeg/ffmpeg-9999.ebuild | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/media-video/ffmpeg/ffmpeg-2.8.4.ebuild b/media-video/ffmpeg/ffmpeg-2.8.4.ebuild index 912ed82350de..efc3bc99680f 100644 --- a/media-video/ffmpeg/ffmpeg-2.8.4.ebuild +++ b/media-video/ffmpeg/ffmpeg-2.8.4.ebuild @@ -375,6 +375,9 @@ multilib_src_configure() { break done + # LTO support, bug #566282 + is-flagq "-flto" && myconf+=( "--enable-lto" ) + # Mandatory configuration myconf=( --enable-avfilter diff --git a/media-video/ffmpeg/ffmpeg-9999.ebuild b/media-video/ffmpeg/ffmpeg-9999.ebuild index 1bd2c89bd572..2918e4bd7cab 100644 --- a/media-video/ffmpeg/ffmpeg-9999.ebuild +++ b/media-video/ffmpeg/ffmpeg-9999.ebuild @@ -391,6 +391,9 @@ multilib_src_configure() { break done + # LTO support, bug #566282 + is-flagq "-flto" && myconf+=( "--enable-lto" ) + # Mandatory configuration myconf=( --enable-avfilter |