[CentOS-devel] Issue with 32-bit build of devtoolset 1.1?
Dusty Mabe
dustymabe at gmail.com
Sat Apr 12 16:38:48 UTC 2014
On Sat, Apr 12, 2014 at 12:37 AM, Dave Johansen <davejohansen at gmail.com> wrote:
>
> I did a little googling and found this: http://stackoverflow.com/questions/130740/link-error-when-compiling-gcc-atomic-operation-in-32-bit-mode
> It looks like I need to build the .rpm with a flag that specifies a newer architecture than i386. Is that something I can/should put in the .spec file? Or is it just a flag that I need to pass when calling rpmbuild?
The --target option may be what you are looking for:
rpmbuild -ba --target=i686 rpm.spec
You can replace i686 with what you need.
Dusty
More information about the CentOS-devel
mailing list