Skip to content

Commit

Permalink
reptyr: Fix GCC 7 build
Browse files Browse the repository at this point in the history
  • Loading branch information
dezgeg committed Nov 16, 2017
1 parent 2b27a46 commit 1830017
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/os-specific/linux/reptyr/default.nix
Expand Up @@ -13,6 +13,9 @@ stdenv.mkDerivation rec {
sed 1i'#include <sys/sysmacros.h>' -i platform/linux/linux.c
'';

# Needed with GCC 7
NIX_CFLAGS_COMPILE = "-Wno-error=format-truncation";

makeFlags = ["PREFIX=$(out)"];
meta = {
platforms = [ "i686-linux" "x86_64-linux" ];
Expand Down

0 comments on commit 1830017

Please sign in to comment.