Skip to content

Commit

Permalink
fixup gcc: remove thin
Browse files Browse the repository at this point in the history
  • Loading branch information
thefloweringash committed Mar 8, 2021
1 parent d60564e commit abe9007
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pkgs/development/compilers/gcc/10/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,6 @@ let majorVersion = "10";
sha256 = "sha256-0KHdkYawaf37aYjKDsueyFOdcBcVXC2OmAreMbb/Sac=";
})

# GCC builds libgcc_s as a fat library even when there's only one arch present.
# On aarch64-darwin signatures are required for binaries, and when we strip,
# the signature is recreated by sigtool. Unfortunately, sigtool bails on fat
# binaries and we end up with a broken libgcc_s. This patch replaces a fat
# libgcc_s a thin one to avoid running into this issue. It can be removed
# when fat binaries are handled out of the box.
++ optional (stdenv.isDarwin && stdenv.isAarch64) ../darwin-gcc_s-thin.patch

# Obtain latest patch with ../update-mcfgthread-patches.sh
++ optional (!crossStageStatic && targetPlatform.isMinGW) ./Added-mcf-thread-model-support-from-mcfgthread.patch;

Expand Down

0 comments on commit abe9007

Please sign in to comment.