Changeset 46e4486


Ignore:
Timestamp:
07/28/2021 10:46:32 AM (3 years ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
8416b1f
Parents:
08f72423
git-author:
Xi Ruoyao <xry111@…> (07/28/2021 09:04:08 AM)
git-committer:
Xi Ruoyao <xry111@…> (07/28/2021 10:46:32 AM)
Message:

don't use host tool for stripping

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter07/stripping.xml

    r08f72423 r46e4486  
    8888
    8989    <para>Strip off debugging symbols from binaries:</para>
    90 <screen role="nodump"><userinput>strip --strip-unneeded $LFS/usr/lib/*
    91 strip --strip-unneeded $LFS/usr/{,s}bin/*
    92 strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
     90<screen role="nodump"><userinput>$LFS_TGT-strip --strip-unneeded $LFS/usr/lib/*
     91$LFS_TGT-strip --strip-unneeded $LFS/usr/{,s}bin/*
     92$LFS_TGT-strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
    9393
    9494    <para>These commands will skip a number of files reporting that it does not
Note: See TracChangeset for help on using the changeset viewer.