btrfsprogs: override -Werror option in CFLAGS to fix build errors with GCC 4.6.1

svn path=/nixpkgs/trunk/; revision=29693
This commit is contained in:
Peter Simons 2011-10-06 13:15:02 +00:00
parent b1b09c1510
commit 8686ca6278

View File

@ -18,7 +18,7 @@ rec {
inherit buildInputs;
configureFlags = [];
makeFlags = ["prefix=$out"];
makeFlags = ["prefix=$out CFLAGS=-Os"];
patches = [ ./glibc212.patch ];
phaseNames = ["doPatch" "doEnsureBtrfsImage" "doMakeInstall"];