go: mark conflict for ancient compilers (#28888)

This commit is contained in:
Seth R. Johnson 2022-02-13 16:20:27 -05:00 committed by GitHub
parent cab0e4cb24
commit 97e4b43ddc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -142,6 +142,9 @@ class Go(Package):
# The fix for this issue has been merged into the 1.8 tree. # The fix for this issue has been merged into the 1.8 tree.
patch('misc-cgo-testcshared.patch', level=0, when='@1.6.4:1.7.5') patch('misc-cgo-testcshared.patch', level=0, when='@1.6.4:1.7.5')
# Unrecognized option '-fno-lto'
conflicts('%gcc@:4', when='@1.17:')
@classmethod @classmethod
def determine_version(cls, exe): def determine_version(cls, exe):
output = Executable(exe)('version', output=str, error=str) output = Executable(exe)('version', output=str, error=str)