aerospike: drop blanket -Werror (#140306)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
This commit is contained in:
Sergei Trofimovich 2021-10-03 14:50:53 +00:00 committed by GitHub
parent fcadfea45c
commit c7fc01cd77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,16 +15,12 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoconf automake libtool ];
buildInputs = [ openssl zlib ];
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
substituteInPlace build/gen_version --replace 'git describe' 'echo ${version}'
# drop blanket -Werror
substituteInPlace make_in/Makefile.in --replace '-Werror' ""
'';
installPhase = ''