Most source rpm's have the following (hopeless) flags:
CFLAGS=-g -O2 -m486 [blah blah blah]
This only takes your 586 to a 486 and even then doesn't produce 486
specific code. It only aligns the data for a 486. Hence you get a nicely
aligned, fantastically fast i386! Whenever I recompile at my work I
always substitute it for at the minimum:
CFLAGS=-O2 -march=pentium
However, at home I go the full way and do a:
CFLAGS=-O5 -march=pentium -fomit-frame-pointer -ffast-math
And incidentally I have never had any trouble with my settings; my
trouble has occured because of what I have done not what GCC has
over-optimised. I must say that my whole system runs far faster than a
normal RedHat installation (I rebuilt gtk+ and glib as well)...my only
question is how does one TOTALLY override the CFLAGS used in a compile
on a SRPM?
DL
--
Don't forget about the Linux C Mailing Lists!
mailto:[EMAIL PROTECTED]
The Linux C++ Mailing Lists - a Linux C++ resource for you...
mailto:[EMAIL PROTECTED]
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.