Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 194031 Details for
Bug 273421
[PATCH] media-video/ffmpeg does not enable correct optimizations with -march=native
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
repost the patch, sry for the mess in the description
ffmpeg-ebuild-march-native.patch (text/plain), 749 bytes, created by
Fabian Henze
on 2009-06-09 19:36:38 UTC
(
hide
)
Description:
repost the patch, sry for the mess in the description
Filename:
MIME Type:
Creator:
Fabian Henze
Created:
2009-06-09 19:36:38 UTC
Size:
749 bytes
patch
obsolete
>--- a/media-video/ffmpeg/ffmpeg-0.5-r1.ebuild 2009-05-21 21:06:31.000000000 +0200 >+++ b/media-video/ffmpeg/ffmpeg-0.5-r1.ebuild 2009-06-09 21:12:06.000000000 +0200 >@@ -137,8 +137,13 @@ src_compile() { > # 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 >- myconf="${myconf} --cpu=$i" >- break >+ if [[ "$i" == "native" ]]; then >+ i=`echo "int main() {return 0;}" | gcc ${CFLAGS} -x c -S -Q -v - 2>&1 | egrep -m 1 -o "\-march=.*" | cut -f 1 -d \ | cut -f 2 -d \=` >+ fi >+ if [[ "$i" != "" ]]; then >+ myconf="${myconf} --cpu=$i" >+ break >+ fi > done > > # video hooking support. replaced by libavfilter, probably needs to be
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 273421
: 194031