summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheodore Ni <3806110+tjni@users.noreply.github.com>2022-08-13 10:19:56 -0700
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2022-08-19 06:46:55 +0000
commit123f7f28de854f0469447dbae8a34aada0f7546d (patch)
treeefa7f29367cea0dd8a89e5a14eafd85e5688c0c8
parentMerge pull request #187355 from obsidiansystems/fix-compiler-rt-armvl-patch-2... (diff)
downloadnixpkgs-origin/backport-186469-to-release-22.05.tar.gz
gcc12: apply working patch for darwin-aarch64origin/backport-186469-to-release-22.05
(cherry picked from commit 74b420b612c19c4ea7a19eeb493fcb72ab75c031)
-rw-r--r--pkgs/development/compilers/gcc/12/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/compilers/gcc/12/default.nix b/pkgs/development/compilers/gcc/12/default.nix
index fb76b039fb0a..5ee6d51bb3ba 100644
--- a/pkgs/development/compilers/gcc/12/default.nix
+++ b/pkgs/development/compilers/gcc/12/default.nix
@@ -65,8 +65,8 @@ let majorVersion = "12";
../gcc-12-gfortran-driving.patch
../ppc-musl.patch
] ++ optional (stdenv.isDarwin && stdenv.isAarch64) (fetchpatch {
- url = "https://github.com/fxcoudert/gcc/compare/releases/gcc-11.1.0...gcc-11.1.0-arm-20210504.diff";
- sha256 = "sha256-JqCGJAfbOxSmkNyq49aFHteK/RFsCSLQrL9mzUCnaD0=";
+ url = "https://github.com/Homebrew/formula-patches/raw/76677f2b/gcc/gcc-12.1.0-arm.diff";
+ sha256 = "sha256-IcCYHSCAElJqTAZELJnRRWo0/SlkgQzSvoMjYr3pgD0=";
})
# Obtain latest patch with ../update-mcfgthread-patches.sh