[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: rpmbuild multiarch





2007/1/18, Simon Perreault <nomis80 nomis80 org>:
Hi,

I'm on a x86_64 setup and I want to build an RPM for i386. So I use the
following command:

        rpmbuild -ba <specfile> --target i386

This results in the following configure command being issued:

./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu
--target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
--datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64
--libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com
--mandir=/usr/share/man --infodir=/usr/share/info --disable-static

The --target parameter is OK, but the --libdir parameter is wrong. What's the
solution?

Thanks


You can fix it in %build or use sed in %install for that.


regards

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]