mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
don't use host tool for stripping
This commit is contained in:
parent
08f72423ce
commit
46e44863c1
@ -87,9 +87,9 @@ umount $LFS/{sys,proc,run}</userinput></screen>
|
|||||||
symbols.</para>
|
symbols.</para>
|
||||||
|
|
||||||
<para>Strip off debugging symbols from binaries:</para>
|
<para>Strip off debugging symbols from binaries:</para>
|
||||||
<screen role="nodump"><userinput>strip --strip-unneeded $LFS/usr/lib/*
|
<screen role="nodump"><userinput>$LFS_TGT-strip --strip-unneeded $LFS/usr/lib/*
|
||||||
strip --strip-unneeded $LFS/usr/{,s}bin/*
|
$LFS_TGT-strip --strip-unneeded $LFS/usr/{,s}bin/*
|
||||||
strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
|
$LFS_TGT-strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
|
||||||
|
|
||||||
<para>These commands will skip a number of files reporting that it does not
|
<para>These commands will skip a number of files reporting that it does not
|
||||||
recognize their file format. Most of these are scripts instead of binaries.
|
recognize their file format. Most of these are scripts instead of binaries.
|
||||||
|
Loading…
Reference in New Issue
Block a user