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

View File

@@ -142,6 +142,9 @@ class Go(Package):
# 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')
# Unrecognized option '-fno-lto'
conflicts('%gcc@:4', when='@1.17:')
@classmethod
def determine_version(cls, exe):
output = Executable(exe)('version', output=str, error=str)