aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/binutils-pass1.xml
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2012-03-27 20:10:11 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2012-03-27 20:10:11 +0000
commit6f227bc82c2bf70495240925bb81002f888a131e (patch)
treeb418b901c8a697d789259376174b07352f47ba4f /chapter05/binutils-pass1.xml
parentf7d98e89550dfb9a93027fccd82272034bd02d1b (diff)
Add a patch to fix building Binutils with -O3 optimization
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9791 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/binutils-pass1.xml')
-rw-r--r--chapter05/binutils-pass1.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/chapter05/binutils-pass1.xml b/chapter05/binutils-pass1.xml
index 9c9f6225f..6d596ce67 100644
--- a/chapter05/binutils-pass1.xml
+++ b/chapter05/binutils-pass1.xml
@@ -70,6 +70,10 @@ cd ../binutils-build</userinput></screen>
<note><para>The approximate build SBU values and required disk space
in Chapter 5 does not include test suite data.</para></note>
+ <para>Apply a patch to prevent a build failure when using compiler optimizations:</para>
+
+<screen><userinput remap="pre">patch -Np1 -i ../&binutils-build-patch;</userinput></screen>
+
<para>Now prepare Binutils for compilation:</para>
<screen><userinput remap="configure">../binutils-&binutils-version;/configure --target=$LFS_TGT \