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

mkdir -v build
cd build

../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