aws-sdk-cpp: fix build with gcc9

This commit is contained in:
Franz Pletz 2019-11-02 17:41:12 +01:00
parent c097caf6d7
commit 6842238875
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -42,6 +42,9 @@ stdenv.mkDerivation rec {
] ++ lib.optional (apis != ["*"])
"-DBUILD_ONLY=${lib.concatStringsSep ";" apis}";
# fix build with gcc9, can be removed after bumping to current version
NIX_CFLAGS_COMPILE = [ "-Wno-error" ];
preConfigure =
''
rm aws-cpp-sdk-core-tests/aws/auth/AWSCredentialsProviderTest.cpp