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
_______________________________________________
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