3
0
Fork 0
forked from mirrors/nixpkgs

aerospike: fix build with gcc8

This commit is contained in:
Linus Heckemann 2019-01-11 10:12:08 +01:00 committed by Franz Pletz
parent 5ef32577e6
commit aca2c7729b
No known key found for this signature in database
GPG key ID: 846FDED7792617B4

View file

@ -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}'