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