aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/aws-c-common/default.nix
diff options
context:
space:
mode:
authorOrivej Desh <orivej@gmx.fr>2019-02-14 10:26:07 +0000
committerOrivej Desh <orivej@gmx.fr>2019-02-14 10:26:07 +0000
commit8f5afc5bb681703f678e0658c737d16bac9a5c65 (patch)
treea1644fc14b8d60f493369de1f94003e3e7276ea4 /pkgs/development/libraries/aws-c-common/default.nix
parentf8acd126c5940fbda837baab1ea5ce2a1e0182d5 (diff)
aws-c-common: silence warnings that cause -Werror
Diffstat (limited to 'pkgs/development/libraries/aws-c-common/default.nix')
-rw-r--r--pkgs/development/libraries/aws-c-common/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/libraries/aws-c-common/default.nix b/pkgs/development/libraries/aws-c-common/default.nix
index 9b9909c3835e..dd200304ab64 100644
--- a/pkgs/development/libraries/aws-c-common/default.nix
+++ b/pkgs/development/libraries/aws-c-common/default.nix
@@ -13,6 +13,11 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
+ NIX_CFLAGS_COMPILE = lib.optionals stdenv.isDarwin [
+ "-Wno-nullability-extension"
+ "-Wno-typedef-redefinition"
+ ];
+
meta = with lib; {
description = "AWS SDK for C common core";
homepage = https://github.com/awslabs/aws-c-common;