svn commit: r352638 - stable/11/share/mk

Mitchell Horne mhorne at FreeBSD.org
Tue Sep 24 02:30:32 UTC 2019


Author: mhorne
Date: Tue Sep 24 02:30:32 2019
New Revision: 352638
URL: https://svnweb.freebsd.org/changeset/base/352638

Log:
  MFC r352033:
  
  Allow for compiler versions >= 10

Modified:
  stable/11/share/mk/bsd.compiler.mk
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/share/mk/bsd.compiler.mk
==============================================================================
--- stable/11/share/mk/bsd.compiler.mk	Tue Sep 24 02:28:17 2019	(r352637)
+++ stable/11/share/mk/bsd.compiler.mk	Tue Sep 24 02:30:32 2019	(r352638)
@@ -156,7 +156,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-all mailing list