libxcrypt: prevent build failure on warnings
The upstream autoconf build system has a default setting that treats compiler warnings as errors. While this can be useful for development and maintenance it's not ideal for packaging and distribution: newer versions of compilers may detect warnings that previous versions of the compilers failed to detect and cause this package to fail to build.
This commit is contained in:
parent
6766fb6503
commit
50aea6ef03
|
@ -16,6 +16,10 @@ stdenv.mkDerivation rec {
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
configureFlags = [
|
||||||
|
"--disable-werror"
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ autoconf automake libtool pkg-config perl ];
|
nativeBuildInputs = [ autoconf automake libtool pkg-config perl ];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
Loading…
Reference in a new issue