gcc: use gcc8 on darwin

This commit is contained in:
Matthew Bauer 2019-09-17 21:03:08 -04:00
parent bd61f91fd1
commit 9bdfcf2218
2 changed files with 1 additions and 4 deletions

View File

@ -373,9 +373,6 @@ stdenv.mkDerivation ({
stdenv.lib.platforms.freebsd ++
stdenv.lib.platforms.illumos ++
stdenv.lib.platforms.darwin;
# See #40038
broken = stdenv.isDarwin;
};
}

View File

@ -7518,7 +7518,7 @@ in
gerbil-unstable = callPackage ../development/compilers/gerbil/unstable.nix { stdenv = gccStdenv; };
gccFun = callPackage ../development/compilers/gcc/8;
gcc = if stdenv.isDarwin then gcc7 else gcc8;
gcc = gcc8;
gcc-unwrapped = gcc.cc;
gccStdenv = if stdenv.cc.isGNU then stdenv else stdenv.override {