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:
parent
8686ca6278
commit
d95e485a86
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildNativeInputs = [ groff ];
|
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
|
# Force mdadm to use /var/run/mdadm.map for its map file (or
|
||||||
# /dev/.mdadm/map as a fallback).
|
# /dev/.mdadm/map as a fallback).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user