diff --git a/media-video/ffmpeg/ffmpeg-2.8.4.ebuild b/media-video/ffmpeg/ffmpeg-2.8.4.ebuild index 912ed82350def..efc3bc99680f5 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 1bd2c89bd5726..2918e4bd7cab9 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