mirror of
https://github.com/krglaws/MyLFS.git
synced 2025-07-26 15:46:59 +00:00
19 lines
454 B
Bash
19 lines
454 B
Bash
# Libstdc++ Phase 1
|
|
mkdir build
|
|
cd build
|
|
|
|
../libstdc++-v3/configure \
|
|
--host=$LFS_TGT \
|
|
--build=$(../config.guess) \
|
|
--prefix=/usr \
|
|
--disable-multilib \
|
|
--disable-nls \
|
|
--disable-libstdcxx-pch \
|
|
--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
|
|
|