From 46e44863c1b86f7520e08c565a36c9b8255cc200 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Wed, 28 Jul 2021 17:04:08 +0800 Subject: don't use host tool for stripping --- chapter07/stripping.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'chapter07/stripping.xml') diff --git a/chapter07/stripping.xml b/chapter07/stripping.xml index 22a5a0804..24ac67e4b 100644 --- a/chapter07/stripping.xml +++ b/chapter07/stripping.xml @@ -87,9 +87,9 @@ umount $LFS/{sys,proc,run} symbols. Strip off debugging symbols from binaries: -strip --strip-unneeded $LFS/usr/lib/* -strip --strip-unneeded $LFS/usr/{,s}bin/* -strip --strip-unneeded $LFS/tools/bin/* +$LFS_TGT-strip --strip-unneeded $LFS/usr/lib/* +$LFS_TGT-strip --strip-unneeded $LFS/usr/{,s}bin/* +$LFS_TGT-strip --strip-unneeded $LFS/tools/bin/* 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. -- cgit v1.2.3-54-g00ecf