On Fri, 26 Nov 1999, patrick wrote:

> I have a question in regards to pentium or higher optimization,
> source, and rpm.  Is there a means to make the default rpm
> --rebuild command use better than -02 -m486, etc?  I would
> like a situation where I enter "rpm --rebuild x.src.rpm" and
> have the optimizations run to -03 -mpentiumpro -march=i686, etc.

You should add the line
optflags: i686 -O3 -mpentiumpro -march=i686 -blah -whatever
to /usr/lib/rpm/rpmrc, and then use
rpm --rebuild --target i686 x.src.rpm

(Also note it's -O3 (Oh-3), not -03 (Zero-3) the way you put it).

If you just modify the optflags: i386 line to do -march=i686 ..., it will
work for you, but it's a bad way - RPM will tell the files they're for
i386, but they won't work on anything but i686.

LLaP
bero

-- 
Nobody will ever need more than 640 kB RAM.
                -- Bill Gates, 1983
Windows 98 requires 16 MB RAM.
                -- Bill Gates, 1999
Nobody will ever need Windows 98.
                -- logical conclusion


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to