gcc12: apply working patch for darwin-aarch64

This commit is contained in:
Theodore Ni 2022-08-13 10:19:56 -07:00
parent 4bdba2de9c
commit 74b420b612
No known key found for this signature in database
GPG key ID: 48B67583BDDD4474

View file

@ -70,8 +70,8 @@ let majorVersion = "12";
./PR106102-musl-poison-cpp.patch
./PR106102-musl-poison-jit.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=";
})
++ optional langD ../libphobos.patch