summaryrefslogtreecommitdiff
path: root/mk/compiler/gcc.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-03-13 17:52:24 +0000
committerjlam <jlam@pkgsrc.org>2004-03-13 17:52:24 +0000
commitbd781e9285ad714a37a0e503471f8a01f876b2a6 (patch)
tree4e0fe9f7d679ff2c909f9f400e6908044ed6be36 /mk/compiler/gcc.mk
parentfb1229af84b73947ab87cfeea8f75a0f9133f972 (diff)
downloadpkgsrc-bd781e9285ad714a37a0e503471f8a01f876b2a6.tar.gz
Note what _CC contains.
Diffstat (limited to 'mk/compiler/gcc.mk')
-rw-r--r--mk/compiler/gcc.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/compiler/gcc.mk b/mk/compiler/gcc.mk
index 76ec2e84a10..59b5f4da3d8 100644
--- a/mk/compiler/gcc.mk
+++ b/mk/compiler/gcc.mk
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.58 2004/03/12 06:09:12 jlam Exp $
+# $NetBSD: gcc.mk,v 1.59 2004/03/13 17:52:24 jlam Exp $
.if !defined(COMPILER_GCC_MK)
COMPILER_GCC_MK= defined
@@ -20,6 +20,7 @@ _GCC2_PATTERNS= [0-1].* 2.[0-9] 2.[0-9].* 2.[1-8][0-9] 2.[1-8][0-9].* \
_GCC3_PATTERNS= 2.95.[4-9]* 2.95.[1-9][0-9]* 2.9[6-9] 2.9[6-9].* \
2.[1-9][0-9][0-9]* 3.* [4-9]*
+# _CC is the full path to the compiler named by ${CC} if it can be found.
.if !defined(_CC)
_CC:= ${CC:C/^/_asdf_/1:M_asdf_*:S/^_asdf_//}
. for _dir_ in ${PATH:C/\:/ /g}