mirror of
https://github.com/krglaws/MyLFS.git
synced 2025-07-26 15:46:59 +00:00
update phase 1 scripts
This commit is contained in:
@ -8,6 +8,7 @@ cd build
|
||||
--with-sysroot=$LFS \
|
||||
--target=$LFS_TGT \
|
||||
--disable-nls \
|
||||
--enable-gprofng=no \
|
||||
--disable-werror
|
||||
|
||||
make
|
||||
|
@ -24,11 +24,10 @@ cd build
|
||||
../configure \
|
||||
--target=$LFS_TGT \
|
||||
--prefix=$LFS/tools \
|
||||
--with-glibc-version=2.35 \
|
||||
--with-glibc-version=2.36 \
|
||||
--with-sysroot=$LFS \
|
||||
--with-newlib \
|
||||
--without-headers \
|
||||
--enable-initfini-array \
|
||||
--disable-nls \
|
||||
--disable-shared \
|
||||
--disable-multilib \
|
||||
|
@ -29,5 +29,5 @@ make DESTDIR=$LFS install
|
||||
|
||||
sed '/RTLDLIST=/s@/usr@@g' -i $LFS/usr/bin/ldd
|
||||
|
||||
$LFS/tools/libexec/gcc/$LFS_TGT/11.2.0/install-tools/mkheaders
|
||||
$LFS/tools/libexec/gcc/$LFS_TGT/12.2.0/install-tools/mkheaders
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
make mrproper
|
||||
make headers
|
||||
|
||||
find usr/include -name '.*' -delete
|
||||
rm usr/include/Makefile
|
||||
find usr/include -type f ! -name '*.h' -delete
|
||||
cp -r usr/include $LFS/usr
|
||||
|
||||
|
Reference in New Issue
Block a user