mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
loongarch: Revert "Binutils: Apply an upstream fix for LTO"
This reverts commit 8b8b87bcb2
.
The change is upstreamed in 2.43.
This commit is contained in:
parent
2b40822e66
commit
5f54f8e4dd
@ -41,17 +41,6 @@
|
|||||||
<sect2 role="installation">
|
<sect2 role="installation">
|
||||||
<title>Installation of Binutils</title>
|
<title>Installation of Binutils</title>
|
||||||
|
|
||||||
<!-- https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=029e52bac7f3a6dd8b39f7f3d298b73174da806b -->
|
|
||||||
<para>First, fix an issue causing some packages fail to build with
|
|
||||||
Link Time Optimization (LTO). Note that some BLFS packages will be
|
|
||||||
built with LTO enabled by default even if you don't enable it
|
|
||||||
explicitly:</para>
|
|
||||||
|
|
||||||
<screen><userinput remap="pre">for i in LO12 HI20 ADD; do
|
|
||||||
sed -e '/DESC64_HI12/a\ case BFD_RELOC_LARCH_TLS_LE_'${i}'_R:' \
|
|
||||||
-i gas/config/tc-loongarch.c
|
|
||||||
done</userinput></screen>
|
|
||||||
|
|
||||||
<para>The Binutils documentation recommends building Binutils
|
<para>The Binutils documentation recommends building Binutils
|
||||||
in a dedicated build directory:</para>
|
in a dedicated build directory:</para>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user