mirror of
https://github.com/outbackdingo/ports.git
synced 2026-03-21 06:44:30 +00:00
32 lines
645 B
Plaintext
32 lines
645 B
Plaintext
# description : A linker, an assembler, and other tools for handling object files
|
|
# depends : flex elfutils
|
|
|
|
name=binutils
|
|
version=2.41
|
|
release=1
|
|
source="https://ftp.gnu.org/gnu/binutils/$name-$version.tar.xz"
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
sed -i '/^SUBDIRS/s/doc//' bfd/Makefile.in
|
|
|
|
mkdir -v build
|
|
cd build
|
|
|
|
../configure \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--enable-gold \
|
|
--enable-ld=default \
|
|
--enable-lto \
|
|
--enable-plugins \
|
|
--enable-shared \
|
|
--disable-werror \
|
|
--with-system-zlib \
|
|
--enable-multilib \
|
|
--with-lib-path=/usr/lib:/lib:/usr/lib32
|
|
make tooldir=/usr
|
|
make tooldir=/usr DESTDIR=$PKG install
|
|
}
|