From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9686C1388C4 for ; Tue, 5 Jan 2016 08:34:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2FBC2E087F; Tue, 5 Jan 2016 08:34:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8B2BFE087F for ; Tue, 5 Jan 2016 08:34:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B934034092E for ; Tue, 5 Jan 2016 08:34:40 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1BC83D00 for ; Tue, 5 Jan 2016 08:34:37 +0000 (UTC) From: "Alexis Ballier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" Message-ID: <1451982422.caed356beda25dacd829f7988c2b8b1011583111.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/ffmpeg/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/ffmpeg/ffmpeg-2.8.4.ebuild media-video/ffmpeg/ffmpeg-9999.ebuild X-VCS-Directories: media-video/ffmpeg/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: caed356beda25dacd829f7988c2b8b1011583111 X-VCS-Branch: master Date: Tue, 5 Jan 2016 08:34:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 01c7e3cf-4b75-42ea-a79d-87ac18da9857 X-Archives-Hash: eba6a33df73d6edb0ee20acf5472ddc5 commit: caed356beda25dacd829f7988c2b8b1011583111 Author: Alexis Ballier gentoo org> AuthorDate: Tue Jan 5 08:26:56 2016 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Tue Jan 5 08:27:02 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=caed356b 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 gentoo.org> media-video/ffmpeg/ffmpeg-2.8.4.ebuild | 3 +++ media-video/ffmpeg/ffmpeg-9999.ebuild | 3 +++ 2 files changed, 6 insertions(+) diff --git a/media-video/ffmpeg/ffmpeg-2.8.4.ebuild b/media-video/ffmpeg/ffmpeg-2.8.4.ebuild index 912ed82..efc3bc9 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 1bd2c89..2918e4b 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