aboutsummaryrefslogtreecommitdiffstats
path: root/chapter6/binutils.sh
blob: 9b97c4b664c9676b5f72362b75f4dfd72c35a0bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

mkdir -v build
cd build || exit 1

../configure \
    --prefix=/usr \
    --build="$(../config.guess)" \
    --host="${LFS_TGT}" \
    --disable-nls \
    --enable-shared \
    --disable-werror \
    --enable-64-bit-bfd &&
make &&
make DESTDIR="${LFS}" -j1 install &&
install -vm755 libctf/.libs/libctf.so.0.0.0 "${LFS}"/usr/lib