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