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
This commit is contained in:
Lluís Batlle i Rossell
2010-04-04 18:10:42 +00:00
parent 2d261d1c1e
commit 19b9811012
9 changed files with 63 additions and 8 deletions

View File

@@ -16,6 +16,10 @@ stdenv.mkDerivation rec {
++ stdenv.lib.optional aclSupport acl.hostDrv
++ stdenv.lib.optional (stdenv.gccCross.libc ? libiconv)
stdenv.gccCross.libc.libiconv.hostDrv;
# Needed for fstatfs()
# I don't know why it is not properly detected cross building with glibc.
configureFlags = [ "fu_cv_sys_stat_statfs2_bsize=yes" ];
};
# The tests are known broken on Cygwin