mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
binutils:
- add support for gmp and mpfr
This commit is contained in:
parent
0b5ae8456a
commit
9640a37929
@ -3,6 +3,9 @@
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/install ccache
|
||||
$SCRIPTS/install linux-headers
|
||||
$SCRIPTS/build gmp
|
||||
$SCRIPTS/build mpfr
|
||||
|
||||
if [ $TARGET_ARCH = "x86_64" -o $TARGET_ARCH = "powerpc64" ]; then
|
||||
WITH_64B_BFD="--enable-64-bit-bfd"
|
||||
@ -18,9 +21,14 @@ cd objdir
|
||||
--target=$TARGET_NAME \
|
||||
--prefix=$ROOT/$TOOLCHAIN \
|
||||
--with-sysroot=$SYSROOT_PREFIX \
|
||||
--with-gmp=$ROOT/$TOOLCHAIN \
|
||||
--with-mpfr=$ROOT/$TOOLCHAIN \
|
||||
--disable-werror \
|
||||
--disable-multilib \
|
||||
$WITH_64B_BFD \
|
||||
--disable-nls
|
||||
|
||||
make configure-host
|
||||
make
|
||||
|
||||
cp -v ../include/libiberty.h $SYSROOT_PREFIX/usr/include
|
Loading…
x
Reference in New Issue
Block a user