pkgsi686Linux.gccForLibs: use recent gcc
the build failure seems to have disappeared on gcc10, and this is required to get recent c++ support in libstdc++.
This commit is contained in:
parent
3e072546ea
commit
33f32d0076
@ -14739,10 +14739,7 @@ with pkgs;
|
||||
|
||||
# This is for e.g. LLVM libraries on linux.
|
||||
gccForLibs =
|
||||
# with gcc-7: undefined reference to `__divmoddi4'
|
||||
if stdenv.targetPlatform.isi686
|
||||
then gcc6.cc
|
||||
else if stdenv.targetPlatform == stdenv.hostPlatform && targetPackages.stdenv.cc.isGNU
|
||||
if stdenv.targetPlatform == stdenv.hostPlatform && targetPackages.stdenv.cc.isGNU
|
||||
# Can only do this is in the native case, otherwise we might get infinite
|
||||
# recursion if `targetPackages.stdenv.cc.cc` itself uses `gccForLibs`.
|
||||
then targetPackages.stdenv.cc.cc
|
||||
|
Loading…
Reference in New Issue
Block a user