aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/adjusting.xml
diff options
context:
space:
mode:
authorJeremy Huntwork <jhuntwork@linuxfromscratch.org>2008-10-20 14:56:53 +0000
committerJeremy Huntwork <jhuntwork@linuxfromscratch.org>2008-10-20 14:56:53 +0000
commit9ff6ff3fb3c97a2413c498fe26097dab76855e56 (patch)
tree3c1eb49220e22d4942a1979ab036c7e20543fc07 /chapter05/adjusting.xml
parent56ca3a5fa6d90620109743267d8aeb91ac7851f7 (diff)
GCC 4.3.2 uses a new location for fixed includes. Fix scripts in chapter 5's adjusting toolchain section to use it.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8684 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/adjusting.xml')
-rw-r--r--chapter05/adjusting.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/chapter05/adjusting.xml b/chapter05/adjusting.xml
index 60c4781c3..fb3f51dc6 100644
--- a/chapter05/adjusting.xml
+++ b/chapter05/adjusting.xml
@@ -66,10 +66,10 @@ ln -sv /tools/bin/ld /tools/$(gcc -dumpmachine)/bin/ld</userinput></screen>
their length):</para>
<!-- && used to ease copy and pasting -->
-<screen><userinput>GCC_INCLUDEDIR=`dirname $(gcc -print-libgcc-file-name)`/include &amp;&amp;
-find ${GCC_INCLUDEDIR}/* -maxdepth 0 -xtype d -exec rm -rvf '{}' \; &amp;&amp;
-rm -vf `grep -l "DO NOT EDIT THIS FILE" ${GCC_INCLUDEDIR}/*` &amp;&amp;
-unset GCC_INCLUDEDIR</userinput></screen>
+<screen><userinput>GCC_FIXED=`dirname $(gcc -print-libgcc-file-name)`/include-fixed &amp;&amp;
+find ${GCC_FIXED}/* -maxdepth 0 -xtype d -exec rm -rvf '{}' \; &amp;&amp;
+rm -vf `grep -l "DO NOT EDIT THIS FILE" ${GCC_FIXED}/*` &amp;&amp;
+unset GCC_FIXED</userinput></screen>
<caution>
<para>At this point, it is imperative to stop and ensure that the basic