rpmbuild multiarch

SmootherFrOgZ lxtnow at gmail.com
Fri Jan 19 01:18:48 UTC 2007


2007/1/18, Simon Perreault <nomis80 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20070118/2e72038d/attachment.htm>


More information about the fedora-extras-list mailing list