Summary: | media-video/ffmpeg ebuild does not allow cpu-specific optimization | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Hendrik Poernama <poernahi> |
Component: | New packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | akshayushah, zeev.tarantov |
Priority: | Lowest | ||
Version: | 2006.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Hendrik Poernama
2007-03-30 00:13:50 UTC
*** Bug 189007 has been marked as a duplicate of this bug. *** I've added that portion of code to the 0.4.9_p20081014 ebuild; it should do everything correctly :) # 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. local mymarch=$(get-flag march) local mymcpu=$(get-flag mcpu) local mymtune=$(get-flag mtune) for i in $mymarch $mymcpu $mymtune ; do myconf="${myconf} --cpu=$i" break done |