repo/binutils/Makefile

18 lines
485 B
Makefile

prepare:
wget -O binutils.tar.gz https://mirrors.nav.ro/gnu/binutils/binutils-2.10.1.tar.gz
tar -xf binutils.tar.gz
cd binutils
$(MAKE):
@../configure --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