diff options
author | Peter Simons <simons@cryp.to> | 2013-04-06 00:45:25 +0200 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2013-04-07 23:33:20 +0200 |
commit | c976480a01f96652c4e33576de45a0ad31be7e0d (patch) | |
tree | e3291b8a5b5c31b973279b12f164624a0e43de16 /pkgs/development/tools/misc/elfutils | |
parent | 938486848e416293666f322f2577cda58a5efbad (diff) | |
download | nixlib-c976480a01f96652c4e33576de45a0ad31be7e0d.tar nixlib-c976480a01f96652c4e33576de45a0ad31be7e0d.tar.gz nixlib-c976480a01f96652c4e33576de45a0ad31be7e0d.tar.bz2 nixlib-c976480a01f96652c4e33576de45a0ad31be7e0d.tar.lz nixlib-c976480a01f96652c4e33576de45a0ad31be7e0d.tar.xz nixlib-c976480a01f96652c4e33576de45a0ad31be7e0d.tar.zst nixlib-c976480a01f96652c4e33576de45a0ad31be7e0d.zip |
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
Diffstat (limited to 'pkgs/development/tools/misc/elfutils')
-rw-r--r-- | pkgs/development/tools/misc/elfutils/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/tools/misc/elfutils/default.nix b/pkgs/development/tools/misc/elfutils/default.nix index 5a1a19068a7e..526a66e02804 100644 --- a/pkgs/development/tools/misc/elfutils/default.nix +++ b/pkgs/development/tools/misc/elfutils/default.nix @@ -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 = { |