From ac2909a8eb44b937ab907d46e65c9fb3589f23b1 Mon Sep 17 00:00:00 2001 From: Ryan Burns Date: Fri, 14 Oct 2022 17:07:36 -0700 Subject: [PATCH] gdb: disable werror -Werror should not be used when packaging. Fixes build for some cross-compilation scenarios, such as darwin -> i686-linux --- pkgs/development/tools/misc/gdb/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/tools/misc/gdb/default.nix b/pkgs/development/tools/misc/gdb/default.nix index 6b5c2ba42f8d..4486636a9f50 100644 --- a/pkgs/development/tools/misc/gdb/default.nix +++ b/pkgs/development/tools/misc/gdb/default.nix @@ -90,6 +90,7 @@ stdenv.mkDerivation rec { # subset of the platform description. "--program-prefix=${targetPrefix}" + "--disable-werror" "--enable-targets=all" "--enable-64-bit-bfd" "--disable-install-libbfd" "--disable-shared" "--enable-static"