aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@mengyan1223.wang>2019-08-15 06:36:26 +0000
committerXi Ruoyao <xry111@mengyan1223.wang>2019-08-15 06:36:26 +0000
commit0fed4cc6291f07172ad760c349b1bf0d6a0c4902 (patch)
tree4687a481a83850d93917b88aee520635a2fa8a45 /chapter06
parent95f21788c1795edc100eba41a90eb3629d460eb4 (diff)
gcc: remove the errorenous header for 32-bit correctly
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11654 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/gcc.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml
index a80c0eb96..a0ab63438 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/x86_64-pc-linux-gnu/9.1.0/include-fixed/bits/</userinput></screen>
+rm -rf /usr/lib/gcc/$(gcc -dumpmachine)/9.1.0/include-fixed/bits/</userinput></screen>
<para>Create a symlink required by the <ulink
url="https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s09.html">FHS</ulink>