binutils: use soft-float on mipsel-musl (like in cross-*).

This commit is contained in:
Christian Neukirchen 2015-11-27 11:54:35 +01:00
parent b275f0de68
commit c2e176a112

View file

@ -29,6 +29,9 @@ do_configure() {
# avoiding --with-sysroot to $XBPS_CROSS_BASE. # avoiding --with-sysroot to $XBPS_CROSS_BASE.
CONFIGFLAG="--host=$XBPS_CROSS_TRIPLET --with-build-sysroot=$XBPS_CROSS_BASE" CONFIGFLAG="--host=$XBPS_CROSS_TRIPLET --with-build-sysroot=$XBPS_CROSS_BASE"
fi fi
if [ "$XBPS_TARGET_MACHINE" = "mipsel-musl" ]; then
CONFIGFLAG+=" --with-float=soft --without-fp"
fi
./configure --build=$XBPS_TRIPLET --prefix=/usr --enable-threads \ ./configure --build=$XBPS_TRIPLET --prefix=/usr --enable-threads \
--enable-plugins --enable-secureplt --with-mmap \ --enable-plugins --enable-secureplt --with-mmap \
--disable-shared --enable-gold --disable-werror \ --disable-shared --enable-gold --disable-werror \