mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01: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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue