update phase 2 scripts

This commit is contained in:
Kyle Glaws
2023-02-15 14:00:22 -05:00
parent f29dd50f3f
commit ebf4e4e2eb
7 changed files with 19 additions and 9 deletions

View File

@ -9,8 +9,10 @@ cd build
--disable-multilib \
--disable-nls \
--disable-libstdcxx-pch \
--with-gxx-include-dir=/tools/$LFS_TGT/include/c++/11.2.0
--with-gxx-include-dir=/tools/$LFS_TGT/include/c++/12.2.0
make
make DESTDIR=$LFS install
rm -v $LFS/usr/lib/lib{stdc++,stdc++fs,supc++}.la

View File

@ -3,5 +3,5 @@ make mrproper
make headers
find usr/include -type f ! -name '*.h' -delete
cp -r usr/include $LFS/usr
cp -rv usr/include $LFS/usr

View File

@ -10,9 +10,12 @@ cd build
--host=$LFS_TGT \
--disable-nls \
--enable-shared \
--enable-gprofng=no \
--disable-werror \
--enable-64-bit-bfd
make
make DESTDIR=$LFS install
rm $LFS/usr/lib/lib{bfd,ctf,ctf-nobfd,opcodes}.{a,la}

View File

@ -12,3 +12,5 @@ popd
make FILE_COMPILE=$(pwd)/build/src/file
make DESTDIR=$LFS install
rm $LFS/usr/lib/libmagic.la

View File

@ -18,17 +18,18 @@ case $(uname -m) in
;;
esac
sed '/thread_header =/s/@.*@/gthr-posix.h/' \
-i libgcc/Makefile.in libstdc++-v3/include/Makefile.in
mkdir build
cd build
mkdir -p $LFS_TGT/libgcc
ln -s ../../../libgcc/gthr-posix.h $LFS_TGT/libgcc/gthr-default.h
../configure \
--build=$(../config.guess) \
--host=$LFS_TGT \
--target=$LFS_TGT \
LDFLAGS_FOR_TARGET=-L$PWD/$LFS_TGT/libgcc \
--prefix=/usr \
CC_FOR_TARGET=$LFS_TGT-gcc \
--with-build-sysroot=$LFS \
--enable-initfini-array \
--disable-nls \
@ -39,7 +40,6 @@ ln -s ../../../libgcc/gthr-posix.h $LFS_TGT/libgcc/gthr-default.h
--disable-libquadmath \
--disable-libssp \
--disable-libvtv \
--disable-libstdcxx \
--enable-languages=c,c++
make

View File

@ -14,9 +14,10 @@ popd
--mandir=/usr/share/man \
--with-manpage-format=normal \
--with-shared \
--without-normal \
--with-cxx-shared \
--without-debug \
--without-ada \
--without-normal \
--disable-stripping \
--enable-widec

View File

@ -3,8 +3,10 @@
--host=$LFS_TGT \
--build=$(build-aux/config.guess) \
--disable-static \
--docdir=/usr/share/doc/xz-5.2.5
--docdir=/usr/share/doc/xz-5.2.6
make
make DESTDIR=$LFS install
rm $LFS/usr/lib/liblzma.la