aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gcc.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2014-05-11 15:02:47 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2014-05-11 15:02:47 +0000
commitf6fe5000d71afe93a210ee5e0976fac1a114c03f (patch)
tree880bb35ad1d4c12fb02db8e957ecdf0189c5f9e9 /chapter06/gcc.xml
parent799daaa7e6630218c2537cdbf63400817ac1292f (diff)
Update bootscripts for eudev.
Add gcc patch for upstream changes.</para> Change explanation for using omit-frame-pointer in gcc-pass2. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10560 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
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 f80eb084c..7c92ccf28 100644
--- a/chapter06/gcc.xml
+++ b/chapter06/gcc.xml
@@ -41,6 +41,11 @@
<sect2 role="installation">
<title>Installation of GCC</title>
+ <para>First fix a problem identified upstream that causes some
+ programs to fail:</para>
+
+<screen><userinput remap="pre">patch -Np1 -i ../&gcc-upstream-patch;</userinput></screen>
+
<para>As in <xref linkend="ch-tools-gcc-pass2"/>, apply the following
<command>sed</command> to force the build to use the
<option>-fomit-frame-pointer</option> compiler flag in order to ensure