libaio: fix tests
This commit is contained in:
parent
0e3ffe430e
commit
556da201b8
@ -14,10 +14,20 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1kqpiswjn549s3w3m89bw5qkl7bw5pvq6gp5cdzd926ymlgivj5c";
|
sha256 = "1kqpiswjn549s3w3m89bw5qkl7bw5pvq6gp5cdzd926ymlgivj5c";
|
||||||
}) ];
|
}) ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
patchShebangs harness
|
||||||
|
|
||||||
|
# Makefile is too optimistic, gcc is too smart
|
||||||
|
substituteInPlace harness/Makefile \
|
||||||
|
--replace "-Werror" ""
|
||||||
|
'';
|
||||||
|
|
||||||
makeFlags = "prefix=$(out)";
|
makeFlags = "prefix=$(out)";
|
||||||
|
|
||||||
hardeningDisable = stdenv.lib.optional (stdenv.isi686) "stackprotector";
|
hardeningDisable = stdenv.lib.optional (stdenv.isi686) "stackprotector";
|
||||||
|
|
||||||
|
checkTarget = "partcheck"; # "check" needs root
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Library for asynchronous I/O in Linux";
|
description = "Library for asynchronous I/O in Linux";
|
||||||
homepage = http://lse.sourceforge.net/io/aio.html;
|
homepage = http://lse.sourceforge.net/io/aio.html;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user