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
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to