27 lines
628 B
Plaintext
27 lines
628 B
Plaintext
# Description: GNU binutils for mingw-w64 toolchain
|
|
# URL: https://www.gnu.org/software/binutils/
|
|
# Maintainer: Matt Housh, jaeger at crux dot ninja
|
|
|
|
name=mingw-w64-binutils
|
|
version=2.38
|
|
release=1
|
|
source=(http://ftpmirror.gnu.org/gnu/binutils/binutils-$version.tar.xz)
|
|
|
|
build() {
|
|
for T in {i686,x86_64}-w64-mingw32; do
|
|
mkdir build-$T
|
|
cd build-$T
|
|
../binutils-$version/configure \
|
|
--prefix=/usr \
|
|
--target=$T \
|
|
--disable-nls \
|
|
--disable-multilib
|
|
sed -i -e '/^MAKEINFO/s:=.*:= true:' Makefile
|
|
make
|
|
make DESTDIR=$PKG install
|
|
cd ..
|
|
done
|
|
rm -r $PKG/usr/share/info
|
|
rm $PKG/usr/lib/bfd-plugins/libdep.so
|
|
}
|