about summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2012-01-07 15:03:56 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2012-01-07 15:03:56 +0000
commitd1807a7b9b393add791d6ade9da09c6167551bfe (patch)
tree111564e4589203684cd0bd1ec10affc93e0d215f /pkgs/applications
parent80717672b47f7b3fffaad9efa330264ac1a250e3 (diff)
Making fbida cross-build.
svn path=/nixpkgs/trunk/; revision=31400
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/graphics/fbida/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/fbida/default.nix b/pkgs/applications/graphics/fbida/default.nix
index ea7cb81a48e59..7f29b43e0e14f 100644
--- a/pkgs/applications/graphics/fbida/default.nix
+++ b/pkgs/applications/graphics/fbida/default.nix
@@ -27,6 +27,10 @@ stdenv.mkDerivation rec {
   
   makeFlags = [ "prefix=$(out)" "verbose=yes" ];
 
+  crossAttrs = {
+    makeFlags = makeFlags ++ [ "CC=${stdenv.cross.config}-gcc" "STRIP="];
+  };
+
   meta = {
     description = "Image viewing and manipulation programs";
   };