diff options
author | Peter Simons <simons@cryp.to> | 2011-10-06 13:15:02 +0000 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2011-10-06 13:15:02 +0000 |
commit | 8686ca62783e501dfbd49a2048e41e50348e6ecc (patch) | |
tree | 8c95b4f30e7bb820ddb1d0f6afe4095dc928045e /pkgs/tools/filesystems | |
parent | b1b09c151099268275d384e8599c260e5f386af5 (diff) |
btrfsprogs: override -Werror option in CFLAGS to fix build errors with GCC 4.6.1
svn path=/nixpkgs/trunk/; revision=29693
Diffstat (limited to 'pkgs/tools/filesystems')
-rw-r--r-- | pkgs/tools/filesystems/btrfsprogs/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/filesystems/btrfsprogs/default.nix b/pkgs/tools/filesystems/btrfsprogs/default.nix index 2a5574a829e35..75c3644f2df0a 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"]; |