commit: 0ad2a95a4188fd99800f9a6a1b73a37c55b70ade
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 11 20:09:00 2016 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Fri Mar 11 20:09:17 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ad2a95a
media-video/ffmpeg: Do not infer --cpu option from mtune CFLAG.
mtune is meant for optimizing code but not generating specific instructions.
ffmpeg --cpu option is for generating specific instuctions.
Bug #577078 by gentoobugs <AT> mysteryvortex.com.
Package-Manager: portage-2.2.28
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>
media-video/ffmpeg/ffmpeg-2.6.3.ebuild | 2 +-
media-video/ffmpeg/ffmpeg-2.6.4.ebuild | 2 +-
media-video/ffmpeg/ffmpeg-2.8.5.ebuild | 2 +-
media-video/ffmpeg/ffmpeg-2.8.6.ebuild | 2 +-
media-video/ffmpeg/ffmpeg-3.0.ebuild | 2 +-
media-video/ffmpeg/ffmpeg-9999.ebuild | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/media-video/ffmpeg/ffmpeg-2.6.3.ebuild
b/media-video/ffmpeg/ffmpeg-2.6.3.ebuild
index 3593fbd..146a372 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 march) $(get-flag mtune) ; do
+ for i in $(get-flag mcpu) $(get-flag march) ; 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 4432056..4cfdb94 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 march) $(get-flag mtune) ; do
+ for i in $(get-flag mcpu) $(get-flag march) ; do
[[ ${i} = native ]] && i="host" # bug #273421
myconf+=( --cpu=${i} )
break
diff --git a/media-video/ffmpeg/ffmpeg-2.8.5.ebuild
b/media-video/ffmpeg/ffmpeg-2.8.5.ebuild
index cd122a6..9d52036 100644
--- a/media-video/ffmpeg/ffmpeg-2.8.5.ebuild
+++ b/media-video/ffmpeg/ffmpeg-2.8.5.ebuild
@@ -369,7 +369,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 march) $(get-flag mtune) ; do
+ for i in $(get-flag mcpu) $(get-flag march) ; do
[[ ${i} = native ]] && i="host" # bug #273421
myconf+=( --cpu=${i} )
break
diff --git a/media-video/ffmpeg/ffmpeg-2.8.6.ebuild
b/media-video/ffmpeg/ffmpeg-2.8.6.ebuild
index 5737bce..ef2179d 100644
--- a/media-video/ffmpeg/ffmpeg-2.8.6.ebuild
+++ b/media-video/ffmpeg/ffmpeg-2.8.6.ebuild
@@ -369,7 +369,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 march) $(get-flag mtune) ; do
+ for i in $(get-flag mcpu) $(get-flag march) ; do
[[ ${i} = native ]] && i="host" # bug #273421
myconf+=( --cpu=${i} )
break
diff --git a/media-video/ffmpeg/ffmpeg-3.0.ebuild
b/media-video/ffmpeg/ffmpeg-3.0.ebuild
index 9fbf3ef..fd5dd6f 100644
--- a/media-video/ffmpeg/ffmpeg-3.0.ebuild
+++ b/media-video/ffmpeg/ffmpeg-3.0.ebuild
@@ -370,7 +370,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 march) $(get-flag mtune) ; do
+ for i in $(get-flag mcpu) $(get-flag march) ; 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 31e8355..c97b7cc 100644
--- a/media-video/ffmpeg/ffmpeg-9999.ebuild
+++ b/media-video/ffmpeg/ffmpeg-9999.ebuild
@@ -370,7 +370,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 march) $(get-flag mtune) ; do
+ for i in $(get-flag mcpu) $(get-flag march) ; do
[[ ${i} = native ]] && i="host" # bug #273421
myconf+=( --cpu=${i} )
break