aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gcc-inst.xml
diff options
context:
space:
mode:
authorTimothy Bauscher <timothy@linuxfromscratch.org>2002-09-29 19:48:03 +0000
committerTimothy Bauscher <timothy@linuxfromscratch.org>2002-09-29 19:48:03 +0000
commitb8e6552e6f3ce3c32a83a332171e0b821f6aef2a (patch)
tree37763c3a60ba19f6b404fd21f0f5cb0a3ae48bb1 /chapter05/gcc-inst.xml
parent4a19a8d141f1a47ca28a9f9cae3b555c091d5338 (diff)
Replaced nofixincludes patch (it doesn't apply cleanly) with a (more appropriate) sed command.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2152 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/gcc-inst.xml')
-rw-r--r--chapter05/gcc-inst.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/chapter05/gcc-inst.xml b/chapter05/gcc-inst.xml
index 36662b95d..b09ee4cdb 100644
--- a/chapter05/gcc-inst.xml
+++ b/chapter05/gcc-inst.xml
@@ -15,7 +15,8 @@ been warned.</para>
<para>Install GCC by running the following commands:</para>
<para><screen><userinput>patch -Np1 -i ../gcc-&gcc-patch-version;.patch &amp;&amp;
-patch -Np1 -i ../gcc-&gcc-version;-nofixincludes.patch &amp;&amp;
+cp gcc/Makefile.in{,.backup} &amp;&amp;
+sed '/$(SHELL) .\/fixinc.sh/d' gcc/Makefile.in.backup > gcc/Makefile.in &amp;&amp;
mkdir ../gcc-build &amp;&amp;
cd ../gcc-build &amp;&amp;
../gcc-&gcc-version;/configure --prefix=/static --enable-languages=c \