summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/compiler/pcc.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/compiler/pcc.mk b/mk/compiler/pcc.mk
index deddc4f1176..2b4d0a94b0b 100644
--- a/mk/compiler/pcc.mk
+++ b/mk/compiler/pcc.mk
@@ -1,4 +1,4 @@
-# $NetBSD: pcc.mk,v 1.7 2015/10/08 21:09:53 he Exp $
+# $NetBSD: pcc.mk,v 1.8 2015/10/09 17:27:09 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 | ${EGREP} '^(pcc|Portable C Compiler)'
+CC_VERSION!= ${CCPATH} -v 2>&1 | ${GREP} -E '^(pcc|Portable C Compiler)'
.else
CC_VERSION_STRING?= ${CC_VERSION}
CC_VERSION?= pcc