Skip to content

Commit

Permalink
Merge pull request NixOS#40592 from Synthetica9/gcc8-llvm6-revert
Browse files Browse the repository at this point in the history
llvm6: default to gcc7 instead of gcc8
  • Loading branch information
adrianpk committed May 16, 2018
2 parents 970866d + fd10fb1 commit b941db6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6728,8 +6728,10 @@ with pkgs;

llvmPackages_6 = callPackage ../development/compilers/llvm/6 ({
inherit (stdenvAdapters) overrideCC;
} // stdenv.lib.optionalAttrs (stdenv.cc.isGNU && stdenv.hostPlatform.isi686) {
stdenv = overrideCC stdenv gcc6; # with gcc-7: undefined reference to `__divmoddi4'
} // stdenv.lib.optionalAttrs (stdenv.cc.isGNU) {
stdenv = overrideCC stdenv (if stdenv.hostPlatform.isi686 then gcc6 else gcc7);
# with gcc-7 on i686: undefined reference to `__divmoddi4'
# Failing tests with gcc8.
});

manticore = callPackage ../development/compilers/manticore { };
Expand Down

0 comments on commit b941db6

Please sign in to comment.