From 6182f020f264ba39308572a6df17ed37a5bc8b59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Sun, 3 Oct 2010 09:12:54 +0000 Subject: [PATCH] Making mtd-utils build with gcc 4.5.1 svn path=/nixpkgs/branches/stdenv-updates/; revision=24030 --- pkgs/tools/filesystems/mtdutils/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/tools/filesystems/mtdutils/default.nix b/pkgs/tools/filesystems/mtdutils/default.nix index 4dbd9fe4439..f2ce1b452cd 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 ];