diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-10-03 09:12:54 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-10-03 09:12:54 +0000 |
commit | 6182f020f264ba39308572a6df17ed37a5bc8b59 (patch) | |
tree | 21435a3bcd579fad5c4f35ba43e7a4ba02361287 /pkgs/tools/filesystems | |
parent | 7867c5ee473f199a8740094f4d4934ac15919795 (diff) |
Making mtd-utils build with gcc 4.5.1
svn path=/nixpkgs/branches/stdenv-updates/; revision=24030
Diffstat (limited to 'pkgs/tools/filesystems')
-rw-r--r-- | pkgs/tools/filesystems/mtdutils/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/tools/filesystems/mtdutils/default.nix b/pkgs/tools/filesystems/mtdutils/default.nix index 4dbd9fe4439f8..f2ce1b452cdf3 100644 --- a/pkgs/tools/filesystems/mtdutils/default.nix +++ b/pkgs/tools/filesystems/mtdutils/default.nix @@ -14,6 +14,9 @@ stdenv.mkDerivation { patchPhase = '' sed -i -e s,/usr/local,, -e s,/usr,$out, common.mk + + # gcc 4.5.1 issues a warning where 4.4.3 did not + sed -i -e s/-Werror// ubi-utils/old-utils/Makefile ''; buildInputs = [ libuuid lzo zlib acl ]; |