aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/stripping.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter07/stripping.xml')
-rw-r--r--chapter07/stripping.xml7
1 files changed, 1 insertions, 6 deletions
diff --git a/chapter07/stripping.xml b/chapter07/stripping.xml
index 99caf7e3c..22a5a0804 100644
--- a/chapter07/stripping.xml
+++ b/chapter07/stripping.xml
@@ -87,7 +87,7 @@ umount $LFS/{sys,proc,run}</userinput></screen>
symbols.</para>
<para>Strip off debugging symbols from binaries:</para>
-<screen role="nodump"><userinput>strip --strip-debug $LFS/usr/lib/*
+<screen role="nodump"><userinput>strip --strip-unneeded $LFS/usr/lib/*
strip --strip-unneeded $LFS/usr/{,s}bin/*
strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
@@ -97,11 +97,6 @@ strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
<quote>Binutils pass 2</quote>, since it is the one that knows how to strip
our cross-compiled programs.--></para>
- <para>Take care <emphasis>NOT</emphasis> to use
- <parameter>--strip-unneeded</parameter> on the libraries. The static
- ones would be destroyed and the toolchain packages would need to be
- built all over again.</para>
-
<para>At this point, you should have at least 5 GB of free space on the
chroot partition that can be used to build and install Glibc and GCC in
the next phase. If you can build and install Glibc, you can build and install