aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gcc.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/gcc.xml')
-rw-r--r--chapter06/gcc.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml
index c0426ef38..5afbc04ec 100644
--- a/chapter06/gcc.xml
+++ b/chapter06/gcc.xml
@@ -1,7 +1,9 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent">
+ <!ENTITY % patches-entities SYSTEM "../patches.ent">
%general-entities;
+ %patches-entities;
]>
<sect1 id="ch-system-gcc" role="wrap">
<title>GCC-&gcc-version;</title>
@@ -42,13 +44,13 @@ into the same directory. Likewise, extract the gcc-testsuite tarball.</para>
<para>Apply only the No-Fixincludes patch (not the Specs patch) also
used in the previous chapter:</para>
-<screen><userinput>patch -Np1 -i ../gcc-&gcc-version;-no_fixincludes-1.patch</userinput></screen>
+<screen><userinput>patch -Np1 -i ../&gcc-no_fixincludes-patch;</userinput></screen>
<para>GCC fails to compile some packages outside of a base Linux From Scratch
install (e.g., Mozilla and kdegraphics) when used in conjunction with newer
versions of Binutils. Apply the following patch to fix this issue:</para>
-<screen><userinput>patch -Np1 -i ../gcc-&gcc-version;-linkonce-1.patch</userinput></screen>
+<screen><userinput>patch -Np1 -i ../&gcc-linkonce-patch;</userinput></screen>
<para>Apply a sed substitution that will suppress the installation of
<filename class="libraryfile">libiberty.a</filename>. The version of