diff options
Diffstat (limited to 'chapter06/gcc-inst.xml')
-rw-r--r-- | chapter06/gcc-inst.xml | 3 |
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 &&</userinput> +<para><screen><userinput>patch -Np1 -i ../gcc-&gcc-version;.patch &&</userinput> +<userinput>mkdir ../gcc-build &&</userinput> <userinput>cd ../gcc-build &&</userinput> <userinput>../gcc-&gcc-version;/configure --prefix=/usr \</userinput> <userinput> --with-slibdir=/lib --enable-shared \</userinput> |