mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
chroot-gcc: fix x86 build.
This commit is contained in:
parent
be09f1ced3
commit
af4148d9dd
1 changed files with 3 additions and 0 deletions
|
@ -107,6 +107,9 @@ do_configure() {
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_MACHINE" = "armv6l" ]; then
|
if [ "$XBPS_TARGET_MACHINE" = "armv6l" ]; then
|
||||||
_floatabi="--with-float=hard"
|
_floatabi="--with-float=hard"
|
||||||
|
elif [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
|
||||||
|
# Required by gmp
|
||||||
|
export ABI=32
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue