Building rpm packages with support for 64 and 32 bit libraries

Florian Festi ffesti at
Thu Apr 9 13:27:08 UTC 2015

On 04/09/2015 02:40 PM, David Dembrow wrote:
> I have a 64 bit system that I would like to build a custom rpm package
> to include 32 bit libraries.  Is there a convention or variable
> available that will essentially build the source with the -m32 compiler
> option that can be triggered with the -target option?

See the --target parameter of rpmbuild:

man rpmbuild



Red Hat GmbH, Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Michael Cunningham, Michael
O'Neill, Charles Peters

More information about the Rpm-list mailing list