summary refs log tree commit diff
path: root/pkgs/tools/filesystems
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-10-03 09:12:54 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-10-03 09:12:54 +0000
commit6182f020f264ba39308572a6df17ed37a5bc8b59 (patch)
tree21435a3bcd579fad5c4f35ba43e7a4ba02361287 /pkgs/tools/filesystems
parent7867c5ee473f199a8740094f4d4934ac15919795 (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.nix3
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 ];