Trying to bootstrap gcc 4.5 with ppl, so it does not depend on libstdc++ from the boostrap-tools.

svn path=/nixpkgs/branches/stdenv-updates/; revision=22947
This commit is contained in:
Lluís Batlle i Rossell
2010-08-04 12:36:35 +00:00
parent b17d1d7d07
commit e0a11f532b
6 changed files with 60 additions and 13 deletions
+8 -2
View File
@@ -1,6 +1,9 @@
{ fetchurl, stdenv, gmpxx, perl, gnum4 }:
{ fetchurl, stdenv, gmpxx, perl, gnum4, static ? false }:
let version = "0.10.2"; in
let
version = "0.10.2";
staticFlags = if static then " --enable-static --disable-shared" else "";
in
stdenv.mkDerivation rec {
name = "ppl-${version}";
@@ -12,6 +15,9 @@ let version = "0.10.2"; in
buildNativeInputs = [ perl gnum4 ];
propagatedBuildInputs = [ gmpxx ];
dontDisableStatic = if static then true else false;
configureFlags = staticFlags;
# Beware! It took ~6 hours to compile PPL and run its tests on a 1.2 GHz
# x86_64 box. Nevertheless, being a dependency of GCC, it probably ought
# to be tested.