gdb: disable werror

-Werror should not be used when packaging.

Fixes build for some cross-compilation scenarios,
such as darwin -> i686-linux
This commit is contained in:
Ryan Burns 2022-10-14 17:07:36 -07:00
parent 10586701d9
commit ac2909a8eb

View file

@ -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"