mirror of
https://github.com/krglaws/MyLFS.git
synced 2025-07-22 18:27:10 +00:00
update phase 2 scripts
This commit is contained in:
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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}
|
||||
|
||||
|
@ -12,3 +12,5 @@ popd
|
||||
make FILE_COMPILE=$(pwd)/build/src/file
|
||||
make DESTDIR=$LFS install
|
||||
|
||||
rm $LFS/usr/lib/libmagic.la
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user