mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 11:34:13 +00:00
commit
d27f79a28f
@ -45,7 +45,7 @@ let
|
|||||||
buildPlatform hostPlatform targetPlatform;
|
buildPlatform hostPlatform targetPlatform;
|
||||||
|
|
||||||
# See https://github.com/NixOS/nixpkgs/pull/209870#issuecomment-1500550903
|
# See https://github.com/NixOS/nixpkgs/pull/209870#issuecomment-1500550903
|
||||||
disableBootstrap' = disableBootstrap && !langFortran;
|
disableBootstrap' = disableBootstrap && !langFortran && !langGo;
|
||||||
|
|
||||||
crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt";
|
crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt";
|
||||||
crossDarwin = targetPlatform != hostPlatform && targetPlatform.libc == "libSystem";
|
crossDarwin = targetPlatform != hostPlatform && targetPlatform.libc == "libSystem";
|
||||||
|
@ -12,7 +12,7 @@ in
|
|||||||
outputs = previousAttrs.outputs ++ lib.optionals enableLibGccOutput [ "libgcc" ];
|
outputs = previousAttrs.outputs ++ lib.optionals enableLibGccOutput [ "libgcc" ];
|
||||||
# This is a separate phase because gcc assembles its phase scripts
|
# This is a separate phase because gcc assembles its phase scripts
|
||||||
# in bash instead of nix (we should fix that).
|
# in bash instead of nix (we should fix that).
|
||||||
preFixupPhases = (previousAttrs.preFixupPhases or []) ++ [ "preFixupLibGccPhase" ];
|
preFixupPhases = (previousAttrs.preFixupPhases or []) ++ lib.optionals ((!langC) || enableLibGccOutput) [ "preFixupLibGccPhase" ];
|
||||||
preFixupLibGccPhase =
|
preFixupLibGccPhase =
|
||||||
# delete extra/unused builds of libgcc_s in non-langC builds
|
# delete extra/unused builds of libgcc_s in non-langC builds
|
||||||
# (i.e. libgccjit, gnat, etc) to avoid potential confusion
|
# (i.e. libgccjit, gnat, etc) to avoid potential confusion
|
||||||
|
Loading…
Reference in New Issue
Block a user