On Thu, 2002-02-28 at 08:46, Mike Calloway wrote:
> When I look in /usr/lib/rpm/macros, all I find is:
> 
> %_arch                  i386
> %_build_arch            i386
> 
> When I change these to i686 on my Athlon, I still get packages sent to i386 
> but built with -march=i386 -mcpu=i686 flags. What do I need to change, 
> please?
> 

That's gross.. And the problem needs to be fixed, it lies within the
/usr/lib/rpm/rpmrc file. Specifically, it seems to be somewhere in the
'buildarchtranslate' section of the file. Back up your rpmrc before
messing with things in here. 

buildarchtranslate: osfmach3_i686: i386

Is this what's in your rpmrc file?
If so, change it, try to build a package, then reply back letting us all
know if that fixed the problem... : )

-- 
Bryan Paxton
Public PGP key: http://www.deadhorse.net/bpaxton.gpg

"Heedfulness: the path to the Deathless.
Heedlessness: the path to death.
The heedful do not die.
The heedless are as if already dead." -- Dhp. 21-24

Reply via email to