aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/libstdc++.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/libstdc++.xml')
-rw-r--r--chapter05/libstdc++.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/chapter05/libstdc++.xml b/chapter05/libstdc++.xml
index 66f17fcd8..c02c9aff8 100644
--- a/chapter05/libstdc++.xml
+++ b/chapter05/libstdc++.xml
@@ -121,6 +121,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:</para>
+
+<screen><userinput remap="install">rm -v $LFS/usr/lib/lib{stdc++,stdc++fs,supc++}.la</userinput></screen>
+
</sect2>
<sect2 role="content">