@@ -6539,9 +6539,12 @@ with pkgs;
6539 stdenv = overrideCC stdenv gcc6; # with gcc-7: undefined reference to `__divmoddi4'
6539 stdenv = overrideCC stdenv gcc6; # with gcc-7: undefined reference to `__divmoddi4'
6542− llvmPackages_6 = callPackage ../development/compilers/llvm/6 {
6542+ llvmPackages_6 = callPackage ../development/compilers/llvm/6 ({
6543 inherit (stdenvAdapters) overrideCC;
6543 inherit (stdenvAdapters) overrideCC;
6544− };
6544+ } // stdenv.lib.optionalAttrs (stdenv.cc.isGNU && stdenv.hostPlatform.isi686) {
6545+ stdenv = overrideCC stdenv gcc6; # with gcc-7: undefined reference to `__divmoddi4'
6545 manticore = callPackage ../development/compilers/manticore { };
6548 manticore = callPackage ../development/compilers/manticore { };
6547 mentorToolchains = recurseIntoAttrs (
6550 mentorToolchains = recurseIntoAttrs (