gmp: fix stupid host/build detection in configure script on i386.
--HG-- extra : convert_revision : f804f3d494ac110600b987cf96bcb6f151e16d9c
This commit is contained in:
parent
5f28e3aef4
commit
59d924e512
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue