7 binutils-unwrapped_2_38,
14 inherit (binutils-unwrapped_2_38) version src;
21 patches = binutils-unwrapped_2_38.patches ++ [
22 ./build-components-separately.patch
25 # We just want to build libopcodes
28 find . ../include/opcode -type f -exec sed {} -i -e 's/"bfd.h"/<bfd.h>/' \;
31 depsBuildBuild = [ buildPackages.stdenv.cc ];
36 buildInputs = [ libiberty ];
37 # dis-asm.h includes bfd.h
38 propagatedBuildInputs = [ libbfd_2_38 ];
40 configurePlatforms = [
45 "--enable-targets=all"
47 "--enable-install-libbfd"
51 enableParallelBuilding = true;
54 description = "Library from binutils for manipulating machine code";
55 homepage = "https://www.gnu.org/software/binutils/";
56 license = licenses.gpl3Plus;
57 maintainers = with maintainers; [ ericson2314 ];
58 platforms = platforms.unix;