View Single Post
  #1 (permalink)  
Old 30-Jun-2009, 08:54
rhcoe rhcoe is offline
Puzzled Penguin
 
Join Date: Jun 2009
Posts: 3
rhcoe hasn't been rated much yet
Default building a 32-bit lib package on x86-64

I'm trying to use rpmbuild to build both a x86-64 and 32-bit package. On the examples in the distribution, the same src rpm is used for both output packages. What is the arguments to rpmbuild to make package-lib-32bit-X.x ?

I'm currently do this to get a 32-bit package:
CC='gcc -m32' CXX='g++ -m32' linux32 rpmbuild -ba --target=i586 package-lib.spec
Reply With Quote