Breaking dependencies on the cross-built gcc through the gcc-cross-wrapper.

svn path=/nixpkgs/branches/stdenv-updates/; revision=23073
This commit is contained in:
Lluís Batlle i Rossell
2010-08-09 21:37:31 +00:00
parent ff5d0fa448
commit d5097ad3d3
5 changed files with 38 additions and 17 deletions

View File

@@ -30,6 +30,12 @@ stdenv.mkDerivation rec {
# It's configure does not like --build or --host
export configureFlags="--libdir=lib --cross-compile-prefix=${stdenv.cross.config}- shared ${opensslCrossSystem}"
'';
# Openssl installs readonly files, which otherwise we can't strip.
# This could at some stdenv hash change be put out of crossAttrs, too
postInstall = ''
chmod -R +w $out
'';
configureScript = "./Configure";
};