summaryrefslogtreecommitdiff
path: root/mk/compiler
diff options
context:
space:
mode:
authorsbd <sbd@pkgsrc.org>2012-03-06 02:44:54 +0000
committersbd <sbd@pkgsrc.org>2012-03-06 02:44:54 +0000
commitd50c6a503c89493a7c6a05226bb9d91bc224e8a5 (patch)
treec7292cf2753eb1c431a7d226621bdb8fc0381fbb /mk/compiler
parentec9e1ccd24afb3cc2fec0af935b09736540f93db (diff)
downloadpkgsrc-d50c6a503c89493a7c6a05226bb9d91bc224e8a5.tar.gz
Add CCACHE_COMPILERCHECK to the environment when using ccache.
Diffstat (limited to 'mk/compiler')
-rw-r--r--mk/compiler/ccache.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/compiler/ccache.mk b/mk/compiler/ccache.mk
index 3a877835930..91130eda2eb 100644
--- a/mk/compiler/ccache.mk
+++ b/mk/compiler/ccache.mk
@@ -1,4 +1,4 @@
-# $NetBSD: ccache.mk,v 1.32 2009/08/31 08:38:50 tnn Exp $
+# $NetBSD: ccache.mk,v 1.33 2012/03/06 02:44:54 sbd Exp $
#
# Copyright (c) 2004 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -121,7 +121,7 @@ BUILD_DEPENDS+= ccache-[0-9]*:../../devel/ccache
# Override the compiler-specific hash with the version string for the
# compiler.
#
-PKGSRC_MAKE_ENV+= CCACHE_HASHCC=${CC_VERSION_STRING:Q}
+PKGSRC_MAKE_ENV+= CCACHE_COMPILERCHECK=echo\ ${CC_VERSION_STRING:Q}
PKGSRC_MAKE_ENV+= CCACHE_DIR=${CCACHE_DIR:Q}
# Create symlinks for the compiler into ${WRKDIR}.