aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gcc.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2019-08-15 21:10:26 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2019-08-15 21:10:26 +0000
commitd4c8cfe38ef10ce0249a93a2c6a701f995bc3451 (patch)
tree45fac69430e0edbf6df4dca39a479954e8a53223 /chapter06/gcc.xml
parent577436d5a816021dff6d5d55175bb79571297433 (diff)
Fix gcc version in rm instruction
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11659 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/gcc.xml')
-rw-r--r--chapter06/gcc.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml
index 83c9560bd..d08fd45d1 100644
--- a/chapter06/gcc.xml
+++ b/chapter06/gcc.xml
@@ -155,7 +155,7 @@ su nobody -s /bin/bash -c "PATH=$PATH make -k check"</userinput></screen>
<para>Install the package and remove an unneeded directory:</para>
<screen><userinput remap="install">make install
-rm -rf /usr/lib/gcc/$(gcc -dumpmachine)/9.1.0/include-fixed/bits/</userinput></screen>
+rm -rf /usr/lib/gcc/$(gcc -dumpmachine)/&gcc-version;/include-fixed/bits/</userinput></screen>
<para>The GCC build directory is owned by <systemitem class="username">
nobody</systemitem> now and the ownership of the installed header