aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
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>