gcc: Make gcc 11.3 build on Darwin (#30278)

Don't apply a Darwin-specific patch that doesn't work on 11.3 any more.

Closes https://github.com/spack/spack/issues/30264.
This commit is contained in:
Erik Schnetter 2022-04-25 14:15:31 -04:00 committed by GitHub
parent db0335fa54
commit 96113a5dc6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -282,7 +282,7 @@ class Gcc(AutotoolsPackage, GNUMirrorPackage):
# Use -headerpad_max_install_names in the build, # Use -headerpad_max_install_names in the build,
# otherwise updated load commands won't fit in the Mach-O header. # otherwise updated load commands won't fit in the Mach-O header.
# This is needed because `gcc` avoids the superenv shim. # This is needed because `gcc` avoids the superenv shim.
patch('darwin/gcc-7.1.0-headerpad.patch', when='@5:11') patch('darwin/gcc-7.1.0-headerpad.patch', when='@5:11.2')
patch('darwin/gcc-6.1.0-jit.patch', when='@5:7') patch('darwin/gcc-6.1.0-jit.patch', when='@5:7')
patch('darwin/gcc-4.9.patch1', when='@4.9.0:4.9.3') patch('darwin/gcc-4.9.patch1', when='@4.9.0:4.9.3')
patch('darwin/gcc-4.9.patch2', when='@4.9.0:4.9.3') patch('darwin/gcc-4.9.patch2', when='@4.9.0:4.9.3')