honggfuzz: pin to binutils-2.38 until upstream ports to 2.39
Without the change build fails on binutils-2.39 branch as: linux/bfd.c: In function 'arch_bfdDisasm': linux/bfd.c:231:5: error: too few arguments to function 'init_disassemble_info' 231 | init_disassemble_info(&info, instr, arch_bfdFPrintF); | ^~~~~~~~~~~~~~~~~~~~~
This commit is contained in:
parent
b0f33ebf40
commit
3bf810a750
1 changed files with 13 additions and 3 deletions
|
@ -1,5 +1,15 @@
|
|||
{ lib, stdenv, fetchFromGitHub, callPackage, makeWrapper, clang, llvm, libbfd
|
||||
, libopcodes, libunwind, libblocksruntime }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, callPackage
|
||||
, makeWrapper
|
||||
, clang
|
||||
, llvm
|
||||
# TODO: switch to latest versions when 2.6 release is out to include
|
||||
# https://github.com/google/honggfuzz/commit/90fdf81006614664ef05e5e3c6f94d91610f11b2
|
||||
, libbfd_2_38, libopcodes_2_38
|
||||
, libunwind
|
||||
, libblocksruntime }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "honggfuzz";
|
||||
|
@ -21,7 +31,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ llvm ];
|
||||
propagatedBuildInputs = [ libbfd libopcodes libunwind libblocksruntime ];
|
||||
propagatedBuildInputs = [ libbfd_2_38 libopcodes_2_38 libunwind libblocksruntime ];
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue