aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gcc-pass2.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2014-08-03 16:37:17 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2014-08-03 16:37:17 +0000
commit8a8177f9b93774426694ffd5b72e4f8aef4f316d (patch)
tree8d38d770a4491d52b6337cabaf64bf60ffa31202 /chapter05/gcc-pass2.xml
parent0bf4dfe63c985c180eaa7feadf6a4703f2dc9fd4 (diff)
Intermediate commit to test a change to gcc.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10672 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/gcc-pass2.xml')
-rw-r--r--chapter05/gcc-pass2.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/chapter05/gcc-pass2.xml b/chapter05/gcc-pass2.xml
index 1dce58834..1bd4c4a20 100644
--- a/chapter05/gcc-pass2.xml
+++ b/chapter05/gcc-pass2.xml
@@ -95,6 +95,10 @@ mv -v gmp-&gmp-extracted-version; gmp
tar -xf ../mpc-&mpc-version;.tar.gz
mv -v mpc-&mpc-version; mpc</userinput></screen>
+ <para>As in the first build of GCC, fix a problem identified upstream:</para>
+
+<screen><userinput remap="pre">sed -i 's/if \((code.*))\)/if (\1 \&amp;\&amp; \!DEBUG_INSN_P (insn))/' gcc/sched-deps.c</userinput></screen>
+
<para>Create a separate build directory again:</para>
<screen><userinput remap="pre">mkdir -v ../gcc-build