From 0d259f841b560acc1c5a2c9cbbd38614019bdba8 Mon Sep 17 00:00:00 2001 From: obadz Date: Sun, 31 Jul 2016 15:02:56 +0100 Subject: aws-sdk-cpp: add compile flag -fpermissive due to libcurl upgrade curl upgrade to 7.50.0 (#17152) changes the libcurl headers slightly and therefore requires the followin flag until this package gets updated --- pkgs/development/libraries/aws-sdk-cpp/default.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pkgs/development/libraries/aws-sdk-cpp') diff --git a/pkgs/development/libraries/aws-sdk-cpp/default.nix b/pkgs/development/libraries/aws-sdk-cpp/default.nix index 1848bd064f1..948cbacf876 100644 --- a/pkgs/development/libraries/aws-sdk-cpp/default.nix +++ b/pkgs/development/libraries/aws-sdk-cpp/default.nix @@ -23,6 +23,10 @@ stdenv.mkDerivation rec { ++ lib.optional (apis != ["*"]) "-DBUILD_ONLY=${lib.concatMapStringsSep ";" (api: "aws-cpp-sdk-" + api) apis}"; + # curl upgrade to 7.50.0 (#17152) changes the libcurl headers slightly and + # therefore requires the followin flag until this package gets updated + NIX_CFLAGS_COMPILE = [ "-fpermissive" ]; + enableParallelBuilding = true; preBuild = -- cgit 1.4.1