summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/text/gnupatch
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-04-04 18:10:42 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-04-04 18:10:42 +0000
commit19b98110126fde7cbb1127af7e3fe1568eacad3d (patch)
treea32e49d08765b5d8ff0b5b7eaae87ae3907e1542 /pkgs/tools/text/gnupatch
parent2d261d1c1ed28e396ec0305075ccffb25b416abc (diff)
Making a bunch of basic programs cross-buildable.
After this, the 'bootstrap-tools' can be cross-built. svn path=/nixpkgs/branches/stdenv-updates/; revision=20945
Diffstat (limited to 'pkgs/tools/text/gnupatch')
-rw-r--r--pkgs/tools/text/gnupatch/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/text/gnupatch/default.nix b/pkgs/tools/text/gnupatch/default.nix
index cd2a67f69933..e6383f40a7c1 100644
--- a/pkgs/tools/text/gnupatch/default.nix
+++ b/pkgs/tools/text/gnupatch/default.nix
@@ -17,6 +17,10 @@ stdenv.mkDerivation rec {
buildInputs = (stdenv.lib.optional doCheck ed);
+ crossAttrs = {
+ configureFlags = [ "ac_cv_func_strnlen_working=yes" ];
+ };
+
doCheck = true;
meta = {