[MPlayer-dev-eng] Why -O4 (again?)

Dominik Mierzejewski dominik at rangers.eu.org
Fri Jun 14 14:49:53 CEST 2002


Could someone explain to me (or point to archival link) why we're using
-O4 in OPTFLAGS? I've seen this in configure since I first started using
mplayer and now that I build packages, I'd like to ask.
AFAIK there's no such thing as -O4. info gcc says -O3 is max.

BTW: since RedHat's default (when building RPMs, that is) is -O2,
I'm emulating -O3 by adding "-ffast-math -finline-functions"
to default CFLAGS. Again, info gcc says it's equivalent to -O3 then
(except -ffast-math, but that's for folks who worry about strict IEEE
conformance, not us :->).
 
-- 
MPlayer RPMs: http://msp-190.man.olsztyn.pl/~dominik/linux/pkgs/mplayer/
"The Universe doesn't give you any points for doing things that are easy."
        -- Sheridan to Garibaldi in Babylon 5:"The Geometry of Shadows"
Dominik 'Rathann' Mierzejewski <rathann(at)rangers.eu.org>



More information about the MPlayer-dev-eng mailing list