openocd: fix build with gcc 11
Werror should not be used when packaging
This commit is contained in:
parent
0aebc59818
commit
fc2b144cf3
|
@ -32,6 +32,7 @@ stdenv.mkDerivation rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
|
"--disable-werror"
|
||||||
"--enable-jtag_vpi"
|
"--enable-jtag_vpi"
|
||||||
"--enable-usb_blaster_libftdi"
|
"--enable-usb_blaster_libftdi"
|
||||||
(lib.enableFeature (! stdenv.isDarwin) "amtjtagaccel")
|
(lib.enableFeature (! stdenv.isDarwin) "amtjtagaccel")
|
||||||
|
|
Loading…
Reference in a new issue