2 Jul
2008
2 Jul
'08
2:58 a.m.
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 x86_64. Allan