aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gcc.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/gcc.xml')
-rw-r--r--chapter06/gcc.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml
index b2b0cd6b2..74665889a 100644
--- a/chapter06/gcc.xml
+++ b/chapter06/gcc.xml
@@ -66,6 +66,11 @@ esac</userinput></screen>
<screen><userinput remap="pre">sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in</userinput></screen>
+ <para>Finally, apply a patch that corrects the test code for locale changes
+ that were made in glibc-2.14 and later.</para>
+
+<screen><userinput remap="pre">patch -Np1 -i ../gcc-4.6.1-locale-1.patch</userinput></screen>
+
<para>The GCC documentation recommends building GCC outside of the source
directory in a dedicated build directory:</para>