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 44F761385B3 for ; Sat, 22 Aug 2015 09:53:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 124A8E0848; Sat, 22 Aug 2015 09:53:53 +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 9249AE0848 for ; Sat, 22 Aug 2015 09:53:52 +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 69B1F3408A6 for ; Sat, 22 Aug 2015 09:53:51 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BB7A4156 for ; Sat, 22 Aug 2015 09:53:48 +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: <1440237217.d18d89cdd674b7eb62619f8cc4b583e358ee7a43.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.6.3.ebuild media-video/ffmpeg/ffmpeg-2.6.4.ebuild media-video/ffmpeg/ffmpeg-2.7.2.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: d18d89cdd674b7eb62619f8cc4b583e358ee7a43 X-VCS-Branch: master Date: Sat, 22 Aug 2015 09:53:48 +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: 7a9769bc-15c5-456e-a781-25c0d44d5fff X-Archives-Hash: e1d5b675d0e943528436dad225e99536 commit: d18d89cdd674b7eb62619f8cc4b583e358ee7a43 Author: Alexis Ballier gentoo org> AuthorDate: Sat Aug 22 09:53:37 2015 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Sat Aug 22 09:53:37 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d18d89cd media-video/ffmpeg: Check for -mcpu, then -march and finally -mtune for determining cpu type. Should fix https://bugs.gentoo.org/show_bug.cgi?id=553632 Package-Manager: portage-2.2.20.1 media-video/ffmpeg/ffmpeg-2.6.3.ebuild | 2 +- media-video/ffmpeg/ffmpeg-2.6.4.ebuild | 2 +- media-video/ffmpeg/ffmpeg-2.7.2.ebuild | 2 +- media-video/ffmpeg/ffmpeg-9999.ebuild | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/media-video/ffmpeg/ffmpeg-2.6.3.ebuild b/media-video/ffmpeg/ffmpeg-2.6.3.ebuild index fb7c820..2f513ba 100644 --- a/media-video/ffmpeg/ffmpeg-2.6.3.ebuild +++ b/media-video/ffmpeg/ffmpeg-2.6.3.ebuild @@ -364,7 +364,7 @@ multilib_src_configure() { # We need to do this so that features of that CPU will be better used # If they contain an unknown CPU it will not hurt since ffmpeg's configure # will just ignore it. - for i in $(get-flag mcpu) $(get-flag mtune) $(get-flag march) ; do + for i in $(get-flag mcpu) $(get-flag march) $(get-flag mtune) ; do [[ ${i} = native ]] && i="host" # bug #273421 myconf+=( --cpu=${i} ) break diff --git a/media-video/ffmpeg/ffmpeg-2.6.4.ebuild b/media-video/ffmpeg/ffmpeg-2.6.4.ebuild index c970d54..f4e269c 100644 --- a/media-video/ffmpeg/ffmpeg-2.6.4.ebuild +++ b/media-video/ffmpeg/ffmpeg-2.6.4.ebuild @@ -364,7 +364,7 @@ multilib_src_configure() { # We need to do this so that features of that CPU will be better used # If they contain an unknown CPU it will not hurt since ffmpeg's configure # will just ignore it. - for i in $(get-flag mcpu) $(get-flag mtune) $(get-flag march) ; do + for i in $(get-flag mcpu) $(get-flag march) $(get-flag mtune) ; do [[ ${i} = native ]] && i="host" # bug #273421 myconf+=( --cpu=${i} ) break diff --git a/media-video/ffmpeg/ffmpeg-2.7.2.ebuild b/media-video/ffmpeg/ffmpeg-2.7.2.ebuild index 280e101..c568a8f 100644 --- a/media-video/ffmpeg/ffmpeg-2.7.2.ebuild +++ b/media-video/ffmpeg/ffmpeg-2.7.2.ebuild @@ -364,7 +364,7 @@ multilib_src_configure() { # We need to do this so that features of that CPU will be better used # If they contain an unknown CPU it will not hurt since ffmpeg's configure # will just ignore it. - for i in $(get-flag mcpu) $(get-flag mtune) $(get-flag march) ; do + for i in $(get-flag mcpu) $(get-flag march) $(get-flag mtune) ; do [[ ${i} = native ]] && i="host" # bug #273421 myconf+=( --cpu=${i} ) break diff --git a/media-video/ffmpeg/ffmpeg-9999.ebuild b/media-video/ffmpeg/ffmpeg-9999.ebuild index ca8ee9f..fa8dea8 100644 --- a/media-video/ffmpeg/ffmpeg-9999.ebuild +++ b/media-video/ffmpeg/ffmpeg-9999.ebuild @@ -366,7 +366,7 @@ multilib_src_configure() { # We need to do this so that features of that CPU will be better used # If they contain an unknown CPU it will not hurt since ffmpeg's configure # will just ignore it. - for i in $(get-flag mcpu) $(get-flag mtune) $(get-flag march) ; do + for i in $(get-flag mcpu) $(get-flag march) $(get-flag mtune) ; do [[ ${i} = native ]] && i="host" # bug #273421 myconf+=( --cpu=${i} ) break