]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MF10 r352637,r358076: correct Clang and lld version checks
authorEd Maste <emaste@FreeBSD.org>
Wed, 29 Apr 2020 18:51:34 +0000 (18:51 +0000)
committerEd Maste <emaste@FreeBSD.org>
Wed, 29 Apr 2020 18:51:34 +0000 (18:51 +0000)
commitd98e1c62c3d9e9d9b13063d088a6c596f91245b7
tree3fa98eacf8132e873a1e4e9f69df13352aff1ec9
parent3689a02291f7584ff04b34ac191c727d8a618476
MF10 r352637,r358076: correct Clang and lld version checks

r352637 (mhorne): Allow for compiler versions >= 10
r358076 (dim): Correctly recognize linker versions greater than 10.0.

These routines determine the host compiler and linker version, and caused
attempts to build 12.1-RELEASE on 13-CURRENT to fail after the latter was
updated to Clang 10.  We don't guarantee such a build config to work, but
it is used by FreeBSD ports build processes.  As a result the fixes from
stable/12 will be included with the next set of advisories, and are being
committed to the branch now to unblock ports builds.

PR: 245973
Reported by: sbruno, antoine
Approved by: so
Errata: EN-20:10.build
Sponsored by: The FreeBSD Foundation
share/mk/bsd.compiler.mk
share/mk/bsd.linker.mk