forked from mirrors/nixpkgs
aerospike: fix build with gcc9
This commit is contained in:
parent
938d0a0d6c
commit
c72bd90940
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue