Skip to content

Commit

Permalink
openocd: unbreak gcc7 build
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornfor committed Feb 18, 2018
1 parent 32ce701 commit 9cad2a4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/development/tools/misc/openocd/default.nix
Expand Up @@ -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"
Expand Down

0 comments on commit 9cad2a4

Please sign in to comment.