From c2e176a112c3456f54e5be778f71c526955baecc Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Fri, 27 Nov 2015 11:54:35 +0100 Subject: [PATCH] binutils: use soft-float on mipsel-musl (like in cross-*). --- srcpkgs/binutils/template | 3 +++ 1 file changed, 3 insertions(+) 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 \