aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gcc-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/gcc-inst.xml')
-rw-r--r--chapter06/gcc-inst.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/chapter06/gcc-inst.xml b/chapter06/gcc-inst.xml
index 97e64cc2c..ab78f36d3 100644
--- a/chapter06/gcc-inst.xml
+++ b/chapter06/gcc-inst.xml
@@ -11,7 +11,8 @@ are available.</para>
<para>Note: the build of other compilers is not tested by the people
who actively work on LFS.</para>
-<para><screen><userinput>mkdir ../gcc-build &amp;&amp;</userinput>
+<para><screen><userinput>patch -Np1 -i ../gcc-&gcc-version;.patch &amp;&amp;</userinput>
+<userinput>mkdir ../gcc-build &amp;&amp;</userinput>
<userinput>cd ../gcc-build &amp;&amp;</userinput>
<userinput>../gcc-&gcc-version;/configure --prefix=/usr \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;--with-slibdir=/lib --enable-shared \</userinput>