nixpkgs-suyu/pkgs/development/compilers/gcc
Alyssa Ross 69b9532a74
gcc: always inhibit libc in cross with same configs
It's not just gcc->clang cross compilation that produces different
platforms with equal configs — dynamic->static cross compilation can
have the same result (e.g. pkgsMusl.pkgsStatic).  So, remove the check
for LLVM, but keep the check that the configs match.

This fixes pkgsMusl.nix on x86_64-linux, which depends on
pkgsMusl.pkgsStatic.buildPackages.gccWithoutTargetLibc.cc.

Fixes: 926c920c12 ("gcc: tighten condition for inhibit_libc=true")
2023-10-10 10:58:44 +00:00
..
common gcc: always inhibit libc in cross with same configs 2023-10-10 10:58:44 +00:00
patches
default.nix gcc: set GFORTRAN_FOR_TARGET on cross-built native compilers 2023-09-21 09:24:56 +03:00