aboutsummaryrefslogtreecommitdiffstats
path: root/chapter5/binutils.sh
blob: 5176d0c98a4e37f421e1c1f0ece84f1fa5a4c17a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
set -e

mkdir build
cd build || exit 1

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