Revert "aws-c-common: fix build with cmake 3.19"

This reverts commit 42c89295db.

no longer needed with cmake namelink fixes
This commit is contained in:
Jonathan Ringer 2020-12-08 09:33:01 -08:00 committed by Jonathan Ringer
parent 3067f97463
commit 18c432fbb2

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, cmake, fetchpatch }:
{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "aws-c-common";
@ -13,15 +13,6 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
# can be removed once https://github.com/awslabs/aws-c-common/pull/735 gets merged, and version bumped
patches = [
(fetchpatch {
name = "fix-re-export-of-target.patch";
url = "https://github.com/awslabs/aws-c-common/pull/735/commits/3fca5c629ce0c4d66f50f7152685f3fe73941cb4.patch";
sha256 = "056f9kyg1c4lwjq8n0r28w1n3zbwrwpi1wbqabk99gaayg46x35a";
})
];
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin
"-Wno-nullability-extension -Wno-typedef-redefinition";