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:
parent
fcadfea45c
commit
c7fc01cd77
1 changed files with 3 additions and 7 deletions
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue