Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 385672 Details for
Bug 523942
media-video/ffmpeg - remove CFLAGS override for -march=native
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ffmpeg-no-cflags-override.patch
ffmpeg-no-cflags-override.patch (text/plain), 8.11 KB, created by
Sebastian
on 2014-09-28 13:16:30 UTC
(
hide
)
Description:
ffmpeg-no-cflags-override.patch
Filename:
MIME Type:
Creator:
Sebastian
Created:
2014-09-28 13:16:30 UTC
Size:
8.11 KB
patch
obsolete
>diff -Nur ffmpeg.old/ffmpeg-0.10.15.ebuild ffmpeg.new/ffmpeg-0.10.15.ebuild >--- ffmpeg.old/ffmpeg-0.10.15.ebuild 2014-09-28 15:08:24.391699566 +0200 >+++ ffmpeg.new/ffmpeg-0.10.15.ebuild 2014-09-28 15:09:13.418364355 +0200 >@@ -211,17 +211,6 @@ > fi > [[ ${ABI} == "x32" ]] && myconf+=" --disable-asm" #427004 > >- # Try to get cpu type based on CFLAGS. >- # Bug #172723 >- # 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 march) $(get-flag mcpu) $(get-flag mtune) ; do >- [ "${i}" = "native" ] && i="host" # bug #273421 >- myconf="${myconf} --cpu=${i}" >- break >- done >- > # Mandatory configuration > myconf=" > --enable-gpl >diff -Nur ffmpeg.old/ffmpeg-1.0.10.ebuild ffmpeg.new/ffmpeg-1.0.10.ebuild >--- ffmpeg.old/ffmpeg-1.0.10.ebuild 2014-09-28 15:08:24.391699566 +0200 >+++ ffmpeg.new/ffmpeg-1.0.10.ebuild 2014-09-28 15:09:25.475027743 +0200 >@@ -221,17 +221,6 @@ > fi > [[ ${ABI} == "x32" ]] && myconf+=" --disable-asm" #427004 > >- # Try to get cpu type based on CFLAGS. >- # Bug #172723 >- # 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 march) $(get-flag mcpu) $(get-flag mtune) ; do >- [ "${i}" = "native" ] && i="host" # bug #273421 >- myconf="${myconf} --cpu=${i}" >- break >- done >- > # Mandatory configuration > myconf=" > --enable-gpl >diff -Nur ffmpeg.old/ffmpeg-1.0.8.ebuild ffmpeg.new/ffmpeg-1.0.8.ebuild >--- ffmpeg.old/ffmpeg-1.0.8.ebuild 2014-09-28 15:08:24.391699566 +0200 >+++ ffmpeg.new/ffmpeg-1.0.8.ebuild 2014-09-28 15:09:47.788364260 +0200 >@@ -221,17 +221,6 @@ > fi > [[ ${ABI} == "x32" ]] && myconf+=" --disable-asm" #427004 > >- # Try to get cpu type based on CFLAGS. >- # Bug #172723 >- # 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 march) $(get-flag mcpu) $(get-flag mtune) ; do >- [ "${i}" = "native" ] && i="host" # bug #273421 >- myconf="${myconf} --cpu=${i}" >- break >- done >- > # Mandatory configuration > myconf=" > --enable-gpl >diff -Nur ffmpeg.old/ffmpeg-1.0.9.ebuild ffmpeg.new/ffmpeg-1.0.9.ebuild >--- ffmpeg.old/ffmpeg-1.0.9.ebuild 2014-09-28 15:08:24.391699566 +0200 >+++ ffmpeg.new/ffmpeg-1.0.9.ebuild 2014-09-28 15:09:56.471691828 +0200 >@@ -221,17 +221,6 @@ > fi > [[ ${ABI} == "x32" ]] && myconf+=" --disable-asm" #427004 > >- # Try to get cpu type based on CFLAGS. >- # Bug #172723 >- # 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 march) $(get-flag mcpu) $(get-flag mtune) ; do >- [ "${i}" = "native" ] && i="host" # bug #273421 >- myconf="${myconf} --cpu=${i}" >- break >- done >- > # Mandatory configuration > myconf=" > --enable-gpl >diff -Nur ffmpeg.old/ffmpeg-1.2.6-r1.ebuild ffmpeg.new/ffmpeg-1.2.6-r1.ebuild >--- ffmpeg.old/ffmpeg-1.2.6-r1.ebuild 2014-09-28 15:08:24.391699566 +0200 >+++ ffmpeg.new/ffmpeg-1.2.6-r1.ebuild 2014-09-28 15:10:03.205029241 +0200 >@@ -249,17 +249,6 @@ > fi > [[ ${ABI} == x32 ]] && myconf+=( --disable-asm ) #427004 > >- # Try to get cpu type based on CFLAGS. >- # Bug #172723 >- # 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 march) $(get-flag mcpu) $(get-flag mtune) ; do >- [[ ${i} = native ]] && i="host" # bug #273421 >- myconf+=( --cpu=${i} ) >- break >- done >- > # Mandatory configuration > myconf=( > --enable-gpl >diff -Nur ffmpeg.old/ffmpeg-1.2.6.ebuild ffmpeg.new/ffmpeg-1.2.6.ebuild >--- ffmpeg.old/ffmpeg-1.2.6.ebuild 2014-09-28 15:08:24.391699566 +0200 >+++ ffmpeg.new/ffmpeg-1.2.6.ebuild 2014-09-28 15:10:12.048362267 +0200 >@@ -215,17 +215,6 @@ > fi > [[ ${ABI} == "x32" ]] && myconf+=" --disable-asm" #427004 > >- # Try to get cpu type based on CFLAGS. >- # Bug #172723 >- # 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 march) $(get-flag mcpu) $(get-flag mtune) ; do >- [ "${i}" = "native" ] && i="host" # bug #273421 >- myconf="${myconf} --cpu=${i}" >- break >- done >- > # Mandatory configuration > myconf=" > --enable-gpl >diff -Nur ffmpeg.old/ffmpeg-1.2.7.ebuild ffmpeg.new/ffmpeg-1.2.7.ebuild >--- ffmpeg.old/ffmpeg-1.2.7.ebuild 2014-09-28 15:08:24.391699566 +0200 >+++ ffmpeg.new/ffmpeg-1.2.7.ebuild 2014-09-28 15:10:18.165028993 +0200 >@@ -248,17 +248,6 @@ > fi > [[ ${ABI} == x32 ]] && myconf+=( --disable-asm ) #427004 > >- # Try to get cpu type based on CFLAGS. >- # Bug #172723 >- # 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 march) $(get-flag mcpu) $(get-flag mtune) ; do >- [[ ${i} = native ]] && i="host" # bug #273421 >- myconf+=( --cpu=${i} ) >- break >- done >- > # Mandatory configuration > myconf=( > --enable-gpl >diff -Nur ffmpeg.old/ffmpeg-1.2.8.ebuild ffmpeg.new/ffmpeg-1.2.8.ebuild >--- ffmpeg.old/ffmpeg-1.2.8.ebuild 2014-09-28 15:08:24.391699566 +0200 >+++ ffmpeg.new/ffmpeg-1.2.8.ebuild 2014-09-28 15:10:23.565028932 +0200 >@@ -248,17 +248,6 @@ > fi > [[ ${ABI} == x32 ]] && myconf+=( --disable-asm ) #427004 > >- # Try to get cpu type based on CFLAGS. >- # Bug #172723 >- # 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 march) $(get-flag mcpu) $(get-flag mtune) ; do >- [[ ${i} = native ]] && i="host" # bug #273421 >- myconf+=( --cpu=${i} ) >- break >- done >- > # Mandatory configuration > myconf=( > --enable-gpl >diff -Nur ffmpeg.old/ffmpeg-2.2.7.ebuild ffmpeg.new/ffmpeg-2.2.7.ebuild >--- ffmpeg.old/ffmpeg-2.2.7.ebuild 2014-09-28 15:08:24.391699566 +0200 >+++ ffmpeg.new/ffmpeg-2.2.7.ebuild 2014-09-28 15:10:29.868359404 +0200 >@@ -284,17 +284,6 @@ > fi > [[ ${ABI} == x32 ]] && myconf+=( --disable-asm ) #427004 > >- # Try to get cpu type based on CFLAGS. >- # Bug #172723 >- # 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 march) $(get-flag mcpu) $(get-flag mtune) ; do >- [[ ${i} = native ]] && i="host" # bug #273421 >- myconf+=( --cpu=${i} ) >- break >- done >- > # Mandatory configuration > myconf=( > --enable-gpl >diff -Nur ffmpeg.old/ffmpeg-2.3.3.ebuild ffmpeg.new/ffmpeg-2.3.3.ebuild >--- ffmpeg.old/ffmpeg-2.3.3.ebuild 2014-09-28 15:08:24.391699566 +0200 >+++ ffmpeg.new/ffmpeg-2.3.3.ebuild 2014-09-28 15:10:35.861694693 +0200 >@@ -282,17 +282,6 @@ > fi > [[ ${ABI} == x32 ]] && myconf+=( --disable-asm ) #427004 > >- # Try to get cpu type based on CFLAGS. >- # Bug #172723 >- # 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 march) $(get-flag mcpu) $(get-flag mtune) ; do >- [[ ${i} = native ]] && i="host" # bug #273421 >- myconf+=( --cpu=${i} ) >- break >- done >- > # Mandatory configuration > myconf=( > --enable-gpl >diff -Nur ffmpeg.old/ffmpeg-9999.ebuild ffmpeg.new/ffmpeg-9999.ebuild >--- ffmpeg.old/ffmpeg-9999.ebuild 2014-09-28 15:08:24.391699566 +0200 >+++ ffmpeg.new/ffmpeg-9999.ebuild 2014-09-28 15:10:44.788361327 +0200 >@@ -283,17 +283,6 @@ > fi > [[ ${ABI} == x32 ]] && myconf+=( --disable-asm ) #427004 > >- # Try to get cpu type based on CFLAGS. >- # Bug #172723 >- # 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 march) $(get-flag mcpu) $(get-flag mtune) ; do >- [[ ${i} = native ]] && i="host" # bug #273421 >- myconf+=( --cpu=${i} ) >- break >- done >- > # Mandatory configuration > myconf=( > --enable-gpl
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 523942
: 385672