#!/bin/bash

mkdir build
cd build || exit 1

../configure --prefix="${LFS}"/tools \
             --with-sysroot="${LFS}" \
             --target="${LFS_TGT}" \
             --disable-nls \
             --disable-werror &&
make &&
make -j1 install