aboutsummaryrefslogtreecommitdiffstats
path: root/chapter5/libstdc++.sh
blob: 1e21f35c5d26b4b01592ad1c774b1f9e44be71fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
mkdir -v 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++/${VERSION} &&

make &&
make -j1 DESTDIR=${LFS} install