From 8686ca62783e501dfbd49a2048e41e50348e6ecc Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 6 Oct 2011 13:15:02 +0000 Subject: [PATCH] btrfsprogs: override -Werror option in CFLAGS to fix build errors with GCC 4.6.1 svn path=/nixpkgs/trunk/; revision=29693 --- pkgs/tools/filesystems/btrfsprogs/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/filesystems/btrfsprogs/default.nix b/pkgs/tools/filesystems/btrfsprogs/default.nix index 2a5574a829e..75c3644f2df 100644 --- a/pkgs/tools/filesystems/btrfsprogs/default.nix +++ b/pkgs/tools/filesystems/btrfsprogs/default.nix @@ -18,7 +18,7 @@ rec { inherit buildInputs; configureFlags = []; - makeFlags = ["prefix=$out"]; + makeFlags = ["prefix=$out CFLAGS=-Os"]; patches = [ ./glibc212.patch ]; phaseNames = ["doPatch" "doEnsureBtrfsImage" "doMakeInstall"];