aboutsummaryrefslogtreecommitdiffstats
path: root/chapter6/file.sh
blob: e2697a97b0e070435e036d991d22bd0b5cd30173 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
mkdir build
pushd build > /dev/null

    ../configure --disable-bzlib \
               --disable-libseccomp \
               --disable-xzlib \
               --disable-zlib &&
    make &&
popd > /dev/null

./configure --prefix=/usr --host=${LFS_TGT} --build=$(./config.guess) &&
make FILE_COMPILE=$(pwd)/build/src/file &&
make DESTDIR=${LFS} -j1 install