mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 04:57:56 +03:00
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
@ -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 New Issue
Block a user