pkgname: binutils pkgver: '2.47' pkgrel: '3' pkgdesc: Linker, assembler, and other tools for handling object files. url: 'https://sources.redhat.com/binutils/' arch: x86_64 # `readelf`/`objdump` w 2.47 dekodują notatki `NT_AMDGPU_METADATA` # i linkują `libmsgpack-c.so.2`. Bez tego pakietu narzędzia nie startują # („error while loading shared libraries”), co psuje też testy feature'ów # w CMake/meson. depends: - msgpack-c makedepends: - msgpack-c - perl - texinfo source: - 'https://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.xz' sha256sums: - 154ab23b60070e8f27013c22977f1129425d67d1e8acd6e13010e617811e4cff build: | cd binutils-${pkgver} mkdir -v build cd build ../configure --prefix=/usr \ --enable-gold \ --enable-ld=default \ --enable-plugins \ --enable-shared \ --disable-werror \ --enable-64-bit-bfd \ --with-system-zlib \ --enable-gprofng=no make tooldir=/usr make tooldir=/usr DESTDIR=${PKGDIR} install -j1 package: | true