mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
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 ];
|
||||
|
||||
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).
|
||||
|
Loading…
Reference in New Issue
Block a user