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
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to