I searched, and while bug number 28853 is close, I don't think its the same one. When I emerge mplayer I can see that its applying my optimizations, plus other ones, that don't apply to me. I have an athlon, but not an athlon-tbird, so why should -mcpu=athlon-bird be done? Also, I spotted -O4...which I thought was a 'fictional' 'O' setting, as they didn't get past three. I think packages like this break the spirit of Gentoo. I have no experience in doing this kind of thing, but perhaps something should be done to filter out some of these automatic CFLAGS... Reproducible: Always Steps to Reproduce: 1. Emerge mplayer Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.0-test6-mm2) ================================================================= System uname: 2.6.0-test6-mm2 i686 AMD Athlon(tm) Processor ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon -O2 -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon -O2 -funroll-loops -pipe" DISTDIR="/var/cache/distfiles" FEATURES="autoaddcvs sandbox userpriv usersandbox ccache" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx mpeg ncurses pdflib png spell truetype xml2 xmms xv alsa gdbm berkdb slang readline arts tetex aalib nas bonobo svga ggi tcltk guile ruby X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl mozilla ldap cdr 3dnow acpi acpi4linux apache2 artswrappersuid cjk cscope dga doc ethereal fbcon gstreamer gtk2 gtkhtml i8x0 jikes maildir mbox md5sum mng moznocompose moznoirc moznomail nowin offensive openal pic ppds S3TC samba sis src sse threads usb X509 xgetdefault xine xml xosd -oss -apm -java -nls -quicktime -zlib"
No, the ebuild unset all CFLAGS, and compile it as mplayer wants, else they do not support it. If you have issues with this, edit the ebuild, or take it to mplayer-users - I should however warn that it is part of their support policy, and I cannot see it changing soon.