Skip to content

Commit 9cad2a4

Browse files
committedFeb 18, 2018
openocd: unbreak gcc7 build
1 parent 32ce701 commit 9cad2a4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎pkgs/development/tools/misc/openocd/default.nix

+6
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ stdenv.mkDerivation rec {
2525
"--enable-remote-bitbang"
2626
];
2727

28+
NIX_CFLAGS_COMPILE = [
29+
"-Wno-implicit-fallthrough"
30+
"-Wno-format-truncation"
31+
"-Wno-format-overflow"
32+
];
33+
2834
postInstall = ''
2935
mkdir -p "$out/etc/udev/rules.d"
3036
rules="$out/share/openocd/contrib/60-openocd.rules"

0 commit comments

Comments
 (0)
Please sign in to comment.