From af4148d9dddf527007183d01c77e38177fbbfba0 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 16 Apr 2013 22:24:03 +0200 Subject: [PATCH] chroot-gcc: fix x86 build. --- srcpkgs/chroot-gcc/template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/srcpkgs/chroot-gcc/template b/srcpkgs/chroot-gcc/template index 658eb5fbcbf..b99ae6ea6c5 100644 --- a/srcpkgs/chroot-gcc/template +++ b/srcpkgs/chroot-gcc/template @@ -107,6 +107,9 @@ do_configure() { if [ "$XBPS_TARGET_MACHINE" = "armv6l" ]; then _floatabi="--with-float=hard" + elif [ "$XBPS_TARGET_MACHINE" = "i686" ]; then + # Required by gmp + export ABI=32 fi if [ "$CROSS_BUILD" ]; then