diff --git a/srcpkgs/binutils/template b/srcpkgs/binutils/template index c79ff9fa4ef..2cd9ea33a56 100644 --- a/srcpkgs/binutils/template +++ b/srcpkgs/binutils/template @@ -29,6 +29,9 @@ 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 + CONFIGFLAG+=" --with-float=soft --without-fp" + fi ./configure --build=$XBPS_TRIPLET --prefix=/usr --enable-threads \ --enable-plugins --enable-secureplt --with-mmap \ --disable-shared --enable-gold --disable-werror \