Patch to fix building gcc@14.2 on darwin. Fixes #45628 (#47830)

This commit is contained in:
Chris Marsh 2024-11-27 21:58:18 -06:00 committed by GitHub
parent 2e8db0815d
commit 51785437bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -439,6 +439,11 @@ class Gcc(AutotoolsPackage, GNUMirrorPackage, CompilerPackage):
sha256="1529cff128792fe197ede301a81b02036c8168cb0338df21e4bc7aafe755305a", sha256="1529cff128792fe197ede301a81b02036c8168cb0338df21e4bc7aafe755305a",
when="@14.1.0 target=aarch64:", when="@14.1.0 target=aarch64:",
) )
patch(
"https://raw.githubusercontent.com/Homebrew/formula-patches/f30c309442a60cfb926e780eae5d70571f8ab2cb/gcc/gcc-14.2.0-r2.diff",
sha256="6c0a4708f35ccf2275e6401197a491e3ad77f9f0f9ef5761860768fa6da14d3d",
when="@14.2.0 target=aarch64:",
)
conflicts("+bootstrap", when="@11.3.0,13.1: target=aarch64:") conflicts("+bootstrap", when="@11.3.0,13.1: target=aarch64:")
# Use -headerpad_max_install_names in the build, # Use -headerpad_max_install_names in the build,