binutils: use soft-float on mipsel-musl (like in cross-*).
This commit is contained in:
parent
b275f0de68
commit
c2e176a112
1 changed files with 3 additions and 0 deletions
|
@ -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 \
|
||||||
|
|
Loading…
Reference in a new issue