mdadm: strip -Werror option from Makefile to fix build errors with GCC 4.6.1

svn path=/nixpkgs/trunk/; revision=29694
This commit is contained in:
Peter Simons 2011-10-06 13:15:05 +00:00
parent 8686ca6278
commit d95e485a86

View File

@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
buildNativeInputs = [ groff ];
preConfigure = "sed -e 's@/lib/udev@\${out}/lib/udev@' -i Makefile";
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
# /dev/.mdadm/map as a fallback).