3
0
Fork 0
forked from mirrors/nixpkgs

reptyr: Fix GCC 7 build

https://hydra.nixos.org/build/63981928
This commit is contained in:
Tuomas Tynkkynen 2017-11-16 19:48:50 +02:00
parent 2b27a46f2e
commit 1830017289

View file

@ -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" ];