gmp: fix stupid host/build detection in configure script on i386.

--HG--
extra : convert_revision : f804f3d494ac110600b987cf96bcb6f151e16d9c
This commit is contained in:
Juan RP 2008-11-21 16:55:58 +01:00
parent 5f28e3aef4
commit 59d924e512

View file

@ -23,3 +23,11 @@ long_desc="
base_chroot=yes base_chroot=yes
run_depends="glibc-2.8" run_depends="glibc-2.8"
pre_configure()
{
if [ "$xbps_machine" != "x86_64" ]; then
local triplet="$xbps_machine-pc-linux-gnu"
configure_args="--host=$triplet --build=$triplet"
fi
}