aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@mengyan1223.wang>2021-02-03 03:00:59 +0000
committerXi Ruoyao <xry111@mengyan1223.wang>2021-02-03 03:00:59 +0000
commitf36db31a45b96d9c4bcff4f34124cb04a78c6279 (patch)
tree3d3f381b5d6880f5d6af5dd56b5b9d40d6b7cd2a /chapter08
parent4fb90e1ec9baf1a20f09a9d9f0379314b50f6f69 (diff)
ch08/gcc: /usr/lib/bfd-plugins is already created by binutils
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12116 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter08')
-rw-r--r--chapter08/gcc.xml3
1 files changed, 1 insertions, 2 deletions
diff --git a/chapter08/gcc.xml b/chapter08/gcc.xml
index 3ef424be7..5090029a5 100644
--- a/chapter08/gcc.xml
+++ b/chapter08/gcc.xml
@@ -174,8 +174,7 @@ rm -rf /usr/lib/gcc/$(gcc -dumpmachine)/&gcc-version;/include-fixed/bits/</useri
<para>Add a compatibility symlink to enable building programs with
Link Time Optimization (LTO):</para>
-<screen><userinput remap="install">install -v -dm755 /usr/lib/bfd-plugins
-ln -sfv ../../libexec/gcc/$(gcc -dumpmachine)/&gcc-version;/liblto_plugin.so \
+<screen><userinput remap="install">ln -sfv ../../libexec/gcc/$(gcc -dumpmachine)/&gcc-version;/liblto_plugin.so \
/usr/lib/bfd-plugins/</userinput></screen>
<para>Now that our final toolchain is in place, it is important to again ensure