Merge pull request #59286 from risicle/ris-afl-qemu-diet
afl-qemu: remove unnecessary build dependencies
This commit is contained in:
commit
1b49e1a447
@ -69,7 +69,7 @@ let
|
|||||||
homepage = "http://lcamtuf.coredump.cx/afl/";
|
homepage = "http://lcamtuf.coredump.cx/afl/";
|
||||||
license = stdenv.lib.licenses.asl20;
|
license = stdenv.lib.licenses.asl20;
|
||||||
platforms = ["x86_64-linux" "i686-linux"];
|
platforms = ["x86_64-linux" "i686-linux"];
|
||||||
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
|
maintainers = with stdenv.lib.maintainers; [ thoughtpolice ris ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in afl
|
in afl
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
{ stdenv, fetchurl, afl, python2, zlib, pkgconfig, glib, ncurses, perl
|
{ stdenv, fetchurl, afl, python2, zlib, pkgconfig, glib, perl
|
||||||
, attr, libcap, vde2, texinfo, libuuid, flex, bison, lzo, snappy
|
, texinfo, libuuid, flex, bison, pixman, autoconf
|
||||||
, libaio, libcap_ng, gnutls, pixman, autoconf
|
|
||||||
, writeText
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
@ -41,9 +39,8 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
zlib glib pixman ncurses attr libcap
|
zlib glib pixman libuuid
|
||||||
vde2 libuuid lzo snappy libcap_ng gnutls
|
];
|
||||||
] ++ optionals (stdenv.isLinux) [ libaio ];
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
@ -63,9 +60,9 @@ stdenv.mkDerivation rec {
|
|||||||
"--disable-gtk"
|
"--disable-gtk"
|
||||||
"--disable-sdl"
|
"--disable-sdl"
|
||||||
"--disable-vnc"
|
"--disable-vnc"
|
||||||
|
"--disable-kvm"
|
||||||
"--target-list=${cpuTarget}"
|
"--target-list=${cpuTarget}"
|
||||||
"--enable-pie"
|
"--enable-pie"
|
||||||
"--enable-kvm"
|
|
||||||
"--sysconfdir=/etc"
|
"--sysconfdir=/etc"
|
||||||
"--localstatedir=/var"
|
"--localstatedir=/var"
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user