openocd: unbreak gcc7 build
This commit is contained in:
parent
32ce7012f0
commit
9cad2a4f4a
@ -25,6 +25,12 @@ stdenv.mkDerivation rec {
|
||||
"--enable-remote-bitbang"
|
||||
];
|
||||
|
||||
NIX_CFLAGS_COMPILE = [
|
||||
"-Wno-implicit-fallthrough"
|
||||
"-Wno-format-truncation"
|
||||
"-Wno-format-overflow"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p "$out/etc/udev/rules.d"
|
||||
rules="$out/share/openocd/contrib/60-openocd.rules"
|
||||
|
Loading…
Reference in New Issue
Block a user