aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/binutils-pass2.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/binutils-pass2.xml')
-rw-r--r--chapter06/binutils-pass2.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/chapter06/binutils-pass2.xml b/chapter06/binutils-pass2.xml
index 1cabf96d9..8766b71e9 100644
--- a/chapter06/binutils-pass2.xml
+++ b/chapter06/binutils-pass2.xml
@@ -98,6 +98,11 @@ cd build</userinput></screen>
<screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen>
+ <para>Remove the libtool archive files because they are harmful for
+ cross compilation, and remove unnecessary static libraries:</para>
+
+<screen><userinput remap="install">rm -v $LFS/usr/lib/lib{bfd,ctf,ctf-nobfd,opcodes}.{a,la}</userinput></screen>
+
</sect2>
<sect2 role="content">