binutils: use soft-float on mipsel-musl (like in cross-*).
This commit is contained in:
@@ -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 \
|
||||||
|
|||||||
Reference in New Issue
Block a user