[pacman-dev] [PATCH] Introduce destarch keyword into makepkg

Allan McRae allan at archlinux.org
Tue Jul 1 21:58:57 EDT 2008

Thomas Bächler wrote:
> If destarch is added to a PKGBUILD, 

I read that as de-starch and was confused for a while...  :)

> makepkg sets the architecture of the
> resulting package to $destarch instead of $CARCH. This is useful if you
> want to cross-create packages for one architecture on the other.
> Using
> arch=('i686')
> destarch='x86_64'
> makes it possible to build multilib packages and to build grub without
> the export CARCH="x86_64" hack.

So when you are building the i686 packages, you have to comment out the 
destarch value?  I think it would be better to use a flag like -D/--dest 


More information about the pacman-dev mailing list