binutils: mips-musl is soft-float and w/o fp also

This commit is contained in:
Jürgen Buchmüller 2020-06-04 14:57:38 +02:00
parent cdd806a989
commit 2e77e3fc52

View file

@ -29,7 +29,7 @@ do_configure() {
# avoiding --with-sysroot to $XBPS_CROSS_BASE.
CONFIGFLAG="--host=$XBPS_CROSS_TRIPLET --with-build-sysroot=$XBPS_CROSS_BASE"
fi
if [ "$XBPS_TARGET_MACHINE" = "mipsel-musl" ]; then
if [ "$XBPS_TARGET_MACHINE" = "mips-musl" -o "$XBPS_TARGET_MACHINE" = "mipsel-musl" ]; then
CONFIGFLAG+=" --with-float=soft --without-fp"
fi
if [ "${XBPS_TARGET_MACHINE%-musl}" = "x86_64" ]; then