aboutsummaryrefslogtreecommitdiffstats
path: root/chapter5/libstdc++.sh
blob: 958bfa653dd4ea7976b8287ebca67da71e968edd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

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