3
0
Fork 0
forked from mirrors/nixpkgs

aerospike: fix build with gcc9

This commit is contained in:
Franz Pletz 2019-11-03 12:56:21 +01:00
parent 938d0a0d6c
commit c72bd90940
No known key found for this signature in database
GPG key ID: 846FDED7792617B4

View file

@ -15,7 +15,12 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoconf automake libtool ];
buildInputs = [ openssl zlib ];
NIX_CFLAGS_COMPILE = "-Wno-error=format-truncation";
NIX_CFLAGS_COMPILE = [
"-Wno-error=format-truncation"
"-Wno-error=address-of-packed-member"
"-Wno-error=format-overflow"
"-Wno-error=stringop-truncation"
];
preBuild = ''
patchShebangs build/gen_version