libaio: Add generic cross-compilation patch
This commit is contained in:
parent
a1e219e562
commit
a5bb01b153
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl, fetchpatch }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.3.110";
|
version = "0.3.110";
|
||||||
@ -9,6 +9,11 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0zjzfkwd1kdvq6zpawhzisv7qbq1ffs343i5fs9p498pcf7046g0";
|
sha256 = "0zjzfkwd1kdvq6zpawhzisv7qbq1ffs343i5fs9p498pcf7046g0";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [ (fetchpatch {
|
||||||
|
url = https://pagure.io/libaio/c/da47c32b2ff39e52fbed1622c34b86bc88d7c217.patch;
|
||||||
|
sha256 = "1kqpiswjn549s3w3m89bw5qkl7bw5pvq6gp5cdzd926ymlgivj5c";
|
||||||
|
}) ];
|
||||||
|
|
||||||
makeFlags = "prefix=$(out)";
|
makeFlags = "prefix=$(out)";
|
||||||
|
|
||||||
hardeningDisable = stdenv.lib.optional (stdenv.isi686) "stackprotector";
|
hardeningDisable = stdenv.lib.optional (stdenv.isi686) "stackprotector";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user