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

rpmbuild multiarch



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


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