blob: 3bdeb05529e212f1a9e8912aeaad7ed0be245ff2 (
plain)
1 # Description: GNU binutils for mingw-w64 toolchain
2 # URL: https://www.gnu.org/software/binutils/
3 # Maintainer: Matt Housh, jaeger at crux dot ninja
4
5 name=mingw-w64-binutils
6 version=2.37
7 release=1
8 source=(http://ftpmirror.gnu.org/gnu/binutils/binutils-$version.tar.xz)
9
10 build() {
11 for T in {i686,x86_64}-w64-mingw32; do
12 mkdir build-$T
13 cd build-$T
14 ../binutils-$version/configure \
15 --prefix=/usr \
16 --target=$T \
17 --disable-nls \
18 --disable-multilib
19 make
20 make DESTDIR=$PKG install
21 cd ..
22 done
23 rm -r $PKG/usr/share/info
24 rm $PKG/usr/lib/bfd-plugins/libdep.so
25 }
|