forked from mirrors/nixpkgs
aerospike: fix build with gcc8
This commit is contained in:
parent
5ef32577e6
commit
aca2c7729b
|
@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ autoconf automake libtool ];
|
||||
buildInputs = [ openssl zlib ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=format-truncation";
|
||||
|
||||
preBuild = ''
|
||||
patchShebangs build/gen_version
|
||||
substituteInPlace build/gen_version --replace 'git describe' 'echo ${version}'
|
||||
|
|
Loading…
Reference in a new issue