Merge pull request #114319 from bobrik/ivan/aws-c-static

aws-c-common: fix build on clang 11
This commit is contained in:
Jörg Thalheim 2021-02-26 09:49:08 +00:00 committed by GitHub
commit 1d467840d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, cmake }:
{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake }:
stdenv.mkDerivation rec {
pname = "aws-c-common";
@ -11,6 +11,14 @@ stdenv.mkDerivation rec {
sha256 = "sha256-izEZMOPHj/9EL78b/t3M0Tki6eA8eRrpG7DO2tkpf1A=";
};
patches = [
# Remove once https://github.com/awslabs/aws-c-common/pull/764 is merged
(fetchpatch {
url = "https://github.com/awslabs/aws-c-common/commit/4f85fb3e398d4e4d320d3559235267b26cbc9531.patch";
sha256 = "1jg3mz507w4kwgmg57kvz419gvw47pd9rkjr6jhsmvardmyyskap";
})
];
nativeBuildInputs = [ cmake ];
cmakeFlags = [