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
|
2021-07-01 06:03:43 +03:00
|
|
|
$(MAKE):
|
2021-06-30 00:59:16 +03:00
|
|
|
@../configure --prefix=/usr \
|
2021-06-30 00:26:09 +03:00
|
|
|
--enable-gold \
|
|
|
|
--enable-ld=default \
|
|
|
|
--enable-plugins \
|
|
|
|
--enable-shared \
|
|
|
|
--disable-werror \
|
|
|
|
--enable-64-bit-bfd \
|
|
|
|
--with-system-zlib
|
2021-07-01 06:03:43 +03:00
|
|
|
$(MAKE) tooldir=${PREFIX}/usr
|
2021-06-30 00:26:09 +03:00
|
|
|
install:
|
2021-07-01 06:03:43 +03:00
|
|
|
$(MAKE) install tooldir=${PREFIX}/usr DESTDIR="${PREFIX}"
|
2021-06-30 00:26:09 +03:00
|
|
|
uninstall:
|
2021-07-01 06:03:43 +03:00
|
|
|
$(MAKE) uninstall
|