3
0
Fork 0
forked from mirrors/nixpkgs

mdadm: add gcc5 compat

This commit is contained in:
William A. Kennington III 2015-06-12 15:40:38 -07:00
parent 5ee75e236c
commit 8f60f45eb6

View file

@ -19,6 +19,9 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ groff ];
# Attempt removing if building with gcc5 when updating
NIX_CFLAGS_COMPILE = "-std=gnu89";
preConfigure = "sed -e 's@/lib/udev@\${out}/lib/udev@' -e 's@ -Werror @ @' -i Makefile";
# Force mdadm to use /var/run/mdadm.map for its map file (or