git.iko.soy/typeable/nixpkgs
on master help sign in
aerospike: drop blanket -Werror (#140306)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>

commitc7fc01cd77b4b45ae469f3aac25496384c527861 authorSergei Trofimovich <slyich@gmail.com> dateSun 3 Oct 2021, 14:50 (5 years ago) parentfcadfea
1 file changed+3−7
pkgs/servers/nosql/aerospike/default.nix+3−7
pkgs/servers/nosql/aerospike/default.nix+3−7
@@ -15,16 +15,12 @@ stdenv.mkDerivation rec {
1515 nativeBuildInputs = [ autoconf automake libtool ];
1616 buildInputs = [ openssl zlib ];
1717
18− NIX_CFLAGS_COMPILE = [
19− "-Wno-error=format-truncation"
20− "-Wno-error=address-of-packed-member"
21− "-Wno-error=format-overflow"
22− "-Wno-error=stringop-truncation"
23− ];
24−
2518 preBuild = ''
2619 patchShebangs build/gen_version
2720 substituteInPlace build/gen_version --replace 'git describe' 'echo ${version}'
21+
22+ # drop blanket -Werror
23+ substituteInPlace make_in/Makefile.in --replace '-Werror' ""
2824 '';
2925
3026 installPhase = ''