Extend the pattern matching the -v output from pcc.
This commit is contained in:
parent
9781ced8a6
commit
d734d0f99c
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: pcc.mk,v 1.6 2013/05/09 23:37:26 riastradh Exp $
|
||||
# $NetBSD: pcc.mk,v 1.7 2015/10/08 21:09:53 he Exp $
|
||||
#
|
||||
# This is the compiler definition for the PCC compiler.
|
||||
#
|
||||
|
@ -61,7 +61,7 @@ _COMPILER_RPATH_FLAG= -Wl,-R
|
|||
|
||||
.if exists(${CCPATH})
|
||||
CC_VERSION_STRING!= ${CCPATH} -v 2>&1 || ${TRUE}
|
||||
CC_VERSION!= ${CCPATH} -v 2>&1 | ${GREP} '^pcc'
|
||||
CC_VERSION!= ${CCPATH} -v 2>&1 | ${EGREP} '^(pcc|Portable C Compiler)'
|
||||
.else
|
||||
CC_VERSION_STRING?= ${CC_VERSION}
|
||||
CC_VERSION?= pcc
|
||||
|
|
Loading…
Reference in a new issue