aboutsummaryrefslogtreecommitdiff
path: root/repos/core/binutils/build
blob: fddff04ac89ce2317c04571f4c9b3b9f2e79fc5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
sed -i 's/\(^INFO_DEPS *=\).*/\1/' bfd/Makefile.in
sed -i 's/\(^INFO_DEPS *=\).*/\1/' gas/Makefile.in

mkdir build
cd build

../configure \
        --prefix=/usr \
        --sysconfdir=/etc \
        --enable-gold \
        --enable-ld=default \
        --enable-lto \
        --enable-plugins \
        --enable-shared \
        --disable-werror \
        --with-system-zlib \
        --disable-multilib \
        --disable-gdb \
        --disable-gprof \
        --disable-gprofng \
        --without-zstd \
        --with-lib-path=/usr/lib:/lib
make DESTDIR=$PKG tooldir=/usr
make DESTDIR=$PKG tooldir=/usr install