gcc: fix build of gcc@master by limiting the version range of a patch (#19482)

Co-authored-by: Thomas Green <ca-tgreen@gw4a64fxlogin00.head.gw4.metoffice.gov.uk>
This commit is contained in:
Thomas Green 2020-10-23 08:32:05 +01:00 committed by GitHub
parent 7b7907077f
commit fe04f06896
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -270,7 +270,7 @@ class Gcc(AutotoolsPackage, GNUMirrorPackage):
patch('sys_ustat-4.9.patch', when='@4.9')
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95005
patch('zstd.patch', when='@10:')
patch('zstd.patch', when='@10.0:10.2')
build_directory = 'spack-build'