Use gcc 4.9 by default

This commit is contained in:
Eelco Dolstra 2015-05-12 17:28:06 +02:00
parent fef86de618
commit 5a9ac9fed7
2 changed files with 17 additions and 23 deletions

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, fetchgit, autoconf, automake, wineStaging, perl, xlibs
, gnupg, gcc48_multi, mesa, curl, bash, cacert, cabextract, utillinux, attr
, gnupg, gcc_multi, mesa, curl, bash, cacert, cabextract, utillinux, attr
}:
let
@ -19,7 +19,7 @@ in stdenv.mkDerivation rec {
sha256 = "1i440rf22fmd2w86dlm1mpi3nb7410rfczc0yldnhgsvp5p3sm5f";
};
buildInputs = [ wine_custom xlibs.libX11 gcc48_multi mesa curl ];
buildInputs = [ wine_custom xlibs.libX11 gcc_multi mesa curl ];
propagatedbuildInputs = [ curl cabextract ];
patches = [ ./pipelight.patch ];

View File

@ -239,7 +239,7 @@ let
# just the plain stdenv.
stdenv_32bit = lowPrio (
if system == "x86_64-linux" then
overrideCC stdenv gcc48_multi
overrideCC stdenv gcc_multi
else
stdenv);
@ -3469,8 +3469,20 @@ let
gambit = callPackage ../development/compilers/gambit { };
gcc = gcc48;
gcc_multi = gcc48_multi;
gcc = gcc49;
gcc_multi =
if system == "x86_64-linux" then lowPrio (
wrapCCWith (import ../build-support/cc-wrapper) glibc_multi (gcc.cc.override {
stdenv = overrideCC stdenv (wrapCCWith (import ../build-support/cc-wrapper) glibc_multi gcc.cc);
profiledCompiler = false;
enableMultilib = true;
}))
else throw "Multilib gcc not supported on ${system}";
gcc_debug = lowPrio (wrapCC (gcc.cc.override {
stripped = false;
}));
gccApple = throw "gccApple is no longer supported";
@ -3601,24 +3613,6 @@ let
else null;
}));
gcc48_multi =
if system == "x86_64-linux" then lowPrio (
wrapCCWith (import ../build-support/cc-wrapper) glibc_multi (gcc48.cc.override {
stdenv = overrideCC stdenv (wrapCCWith (import ../build-support/cc-wrapper) glibc_multi gcc.cc);
profiledCompiler = false;
enableMultilib = true;
}))
else throw "Multilib gcc not supported on ${system}";
gcc48_debug = lowPrio (wrapCC (callPackage ../development/compilers/gcc/4.8 {
stripped = false;
inherit noSysDirs;
cross = null;
libcCross = null;
binutilsCross = null;
}));
gcc49 = lowPrio (wrapCC (callPackage ../development/compilers/gcc/4.9 {
inherit noSysDirs;