[CentOS] Can't build RPM for i686 target (i386 works)

Wed Nov 19 20:49:18 UTC 2014
Frank Cox <theatre at melvilletheatre.com>

On Wed, 19 Nov 2014 14:40:55 -0600
Ian Pilcher wrote:

> I'm creating a simple RPM for my 32-bit CentOS 6 server.  When I build
> the RPM without specifying a target architecture (rpmbuild foo.spec), it
> successfully builds an i386 RPM.

export CC="gcc -m32"
rpmbuild --target=i686 foo.spec

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com