elfutils: disable -Werror to fix the build
nm.c: In function 'show_symbols_sysv': nm.c:773:27: error: argument to 'sizeof' in 'snprintf' call is the same expression as the destination; did you mean to provide an explicit length? [-Werror=sizeof-pointer-memaccess] snprintf (name, sizeof name, "[invalid sh_name %#" PRIx32 "]", ^ cc1: all warnings being treated as errors
This commit is contained in:
parent
938486848e
commit
c976480a01
@ -24,9 +24,11 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [m4 bison flex gettext bzip2];
|
||||
buildInputs = [zlib bzip2];
|
||||
|
||||
configureFlags = "--disable-werror";
|
||||
|
||||
crossAttrs = {
|
||||
|
||||
/* Having bzip2 will harm, because anything using elfutils
|
||||
/* Having bzip2 will harm, because anything using elfutils
|
||||
as buildInput cross-building, will not be able to run 'bzip2' */
|
||||
propagatedBuildInputs = [ zlib.crossDrv ];
|
||||
|
||||
@ -64,7 +66,7 @@ stdenv.mkDerivation rec {
|
||||
cp version.h $out/include
|
||||
'';
|
||||
};
|
||||
|
||||
|
||||
dontAddDisableDepTrack = true;
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user