mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 14:16:40 +00:00
binutils:
- add LTO support
This commit is contained in:
parent
cf935c8597
commit
ac68f73f56
@ -8,6 +8,7 @@ $SCRIPTS/build gmp
|
|||||||
$SCRIPTS/build mpfr
|
$SCRIPTS/build mpfr
|
||||||
$SCRIPTS/build ppl
|
$SCRIPTS/build ppl
|
||||||
$SCRIPTS/build cloog-ppl
|
$SCRIPTS/build cloog-ppl
|
||||||
|
$SCRIPTS/build libelf
|
||||||
|
|
||||||
if [ $TARGET_ARCH = "x86_64" -o $TARGET_ARCH = "powerpc64" ]; then
|
if [ $TARGET_ARCH = "x86_64" -o $TARGET_ARCH = "powerpc64" ]; then
|
||||||
WITH_64B_BFD="--enable-64-bit-bfd"
|
WITH_64B_BFD="--enable-64-bit-bfd"
|
||||||
@ -27,11 +28,12 @@ cd objdir
|
|||||||
--with-mpfr=$ROOT/$TOOLCHAIN \
|
--with-mpfr=$ROOT/$TOOLCHAIN \
|
||||||
--with-ppl=$ROOT/$TOOLCHAIN \
|
--with-ppl=$ROOT/$TOOLCHAIN \
|
||||||
--with-cloog=$ROOT/$TOOLCHAIN \
|
--with-cloog=$ROOT/$TOOLCHAIN \
|
||||||
|
--with-libelf=$ROOT/$TOOLCHAIN \
|
||||||
|
--enable-lto \
|
||||||
--disable-werror \
|
--disable-werror \
|
||||||
--disable-multilib \
|
--disable-multilib \
|
||||||
$WITH_64B_BFD \
|
$WITH_64B_BFD \
|
||||||
--disable-nls
|
--disable-nls
|
||||||
|
|
||||||
make configure-host
|
make configure-host
|
||||||
make
|
make
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user