From 2d3cfb2058edac6f95997ed7dbce6dc1d0e17f78 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 26 Oct 2006 20:23:49 +0000 Subject: [PATCH] * Put back in the code to do a profiled GCC build, but turn in off (build ICEs). svn path=/nixpkgs/trunk/; revision=6861 --- pkgs/development/compilers/gcc-4.1/builder.sh | 6 ++++++ pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/development/compilers/gcc-4.1/builder.sh b/pkgs/development/compilers/gcc-4.1/builder.sh index c4bf20862806..69cec7d258ff 100644 --- a/pkgs/development/compilers/gcc-4.1/builder.sh +++ b/pkgs/development/compilers/gcc-4.1/builder.sh @@ -73,4 +73,10 @@ postInstall() { } +if test -z "$profiledCompiler"; then + makeFlags="bootstrap $makeFlags" +else + makeFlags="profiledbootstrap $makeFlags" +fi + genericBuild diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5a074e28b70d..c346d2fef31d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -641,7 +641,7 @@ rec { gcc41 = wrapGCC (import ../development/compilers/gcc-4.1 { inherit fetchurl stdenv noSysDirs; - profiledCompiler = true; + profiledCompiler = false; }); gccApple = wrapGCC (import ../development/compilers/gcc-apple {