svn commit: r352637 - stable/12/share/mk
Mitchell Horne
mhorne at FreeBSD.org
Tue Sep 24 02:28:18 UTC 2019
Author: mhorne
Date: Tue Sep 24 02:28:17 2019
New Revision: 352637
URL: https://svnweb.freebsd.org/changeset/base/352637
Log:
MFC r352033:
Allow for compiler versions >= 10
Modified:
stable/12/share/mk/bsd.compiler.mk
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/share/mk/bsd.compiler.mk
==============================================================================
--- stable/12/share/mk/bsd.compiler.mk Tue Sep 24 01:58:54 2019 (r352636)
+++ stable/12/share/mk/bsd.compiler.mk Tue Sep 24 02:28:17 2019 (r352637)
@@ -168,7 +168,7 @@ ${X_}COMPILER_TYPE:= clang
. endif
.endif
.if !defined(${X_}COMPILER_VERSION)
-${X_}COMPILER_VERSION!=echo "${_v:M[1-9].[0-9]*}" | awk -F. '{print $$1 * 10000 + $$2 * 100 + $$3;}'
+${X_}COMPILER_VERSION!=echo "${_v:M[1-9]*.[0-9]*}" | awk -F. '{print $$1 * 10000 + $$2 * 100 + $$3;}'
.endif
.undef _v
.endif
More information about the svn-src-stable
mailing list