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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user