aboutsummaryrefslogtreecommitdiffstats
path: root/chapter09/theend.xml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2001-05-16 23:47:43 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2001-05-16 23:47:43 +0000
commit640c87f15517c14b316301920658a2882a2866ea (patch)
tree17f1b80b7628621aade920c9dba03a328c9e85c6 /chapter09/theend.xml
parent016a86b50b2ddeb566724dcdf8181f6ab08462cf (diff)
Changed --strip-unneeded to --strip-debug
According to a report --strip-unneeded isn't as safe on libraries as we originally thought it to be. Apparently it will cause static link failures when static libs are stripped that way. Dynamic libs may have some unexpected problems too. So we'll just go back on the safe side and only use --strip-debug git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@637 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter09/theend.xml')
-rw-r--r--chapter09/theend.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/chapter09/theend.xml b/chapter09/theend.xml
index a7e5173e1..8d1111a7b 100644
--- a/chapter09/theend.xml
+++ b/chapter09/theend.xml
@@ -8,7 +8,7 @@ with your new shiny custom built Linux system.
</para>
<para>
-Now would be a good time to strip all debug and compiler symbols from
+Now would be a good time to strip all debug symbols from
the binaries on your LFS system. If you are not a programmer and don't plan
on debugging your software, then you will be happy to know that you can
reclaim a few tens of megs by removing debug symbols. This process causes
@@ -18,7 +18,7 @@ remove the symbols by executing the following command:
</para>
<blockquote><literallayout>
- <userinput>find / -type f -exec strip --strip-unneeded '{}' ';'
+ <userinput>find / -type f -exec strip --strip-debug '{}' ';'
</userinput>
</literallayout></blockquote>