Making mtd-utils build with gcc 4.5.1

svn path=/nixpkgs/branches/stdenv-updates/; revision=24030
This commit is contained in:
Lluís Batlle i Rossell 2010-10-03 09:12:54 +00:00
parent 7867c5ee47
commit 6182f020f2

View File

@ -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 ];