Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Sep 2019 02:28:18 +0000 (UTC)
From:      Mitchell Horne <mhorne@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r352637 - stable/12/share/mk
Message-ID:  <201909240228.x8O2SIDf078791@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909240228.x8O2SIDf078791>