Changing CFLAGS for i386 packages on x86_64

Arjan van de Ven arjan at fenrus.demon.nl
Fri Jul 14 10:17:12 UTC 2006


On Fri, 2006-07-14 at 11:48 +0200, dragoran wrote:
> Arjan van de Ven wrote:
> > On Fri, 2006-07-14 at 09:03 +0000, Kevin Kofler wrote:
> >   
> >> Arjan van de Ven <arjan <at> fenrus.demon.nl> writes:
> >>     
> >>> SSE in 32 bit is not "just used" by gcc
> >>>       
> >> What about -ftree-vectorize? 
> >>     
> >
> > that is, on 32 bit, not so cheap since it means transfering FP from the
> > x87 fpu to sse and back a lot.
> >
> >   
> ok but why isn't it enabled on x86_64 (for 64bit apps)
> the packages are compiled with
> -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> (this is shown in about:buildconfig in 64bit mozilla)

perhaps because it's default enabled in -O2 ?

(also iirc mozilla doesn't use the same CFLAGs as the rest of the distro
does; but that could have gotten fixed recently of course)




More information about the fedora-devel-list mailing list