repo/binutils/Makefile

19 lines
482 B
Makefile
Raw Normal View History

2021-06-30 00:26:09 +03:00
prepare:
2021-06-30 00:40:13 +03:00
wget -O binutils.tar.gz https://mirrors.nav.ro/gnu/binutils/binutils-2.10.1.tar.gz
tar -xf binutils.tar.gz
2021-06-30 00:26:09 +03:00
cd binutils
make:
@../configure --prefix=${PREFIX}/usr \
--enable-gold \
--enable-ld=default \
--enable-plugins \
--enable-shared \
--disable-werror \
--enable-64-bit-bfd \
--with-system-zlib
make tooldir=${PREFIX}/usr
install:
make install tooldir=${PREFIX}/usr DESTDIR="${PREFIX}"
uninstall:
make uninstall