diff options
author | jlam <jlam@pkgsrc.org> | 2004-02-01 01:33:06 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-02-01 01:33:06 +0000 |
commit | 706af1242e7fbb9dbda378a3f2e10ee6ff0d6755 (patch) | |
tree | e06e84635bdc9176f7d6e05e805189e52b7ec81c /mk/compiler/ccache.mk | |
parent | 0cf6261dd8ed70712075c3a03393eae9a774e5cf (diff) | |
download | pkgsrc-706af1242e7fbb9dbda378a3f2e10ee6ff0d6755.tar.gz |
Match names for the C and C++ compilers with the ones we're masquerading.
This should allow ccache to work with SunPro and MIPSpro compilers.
Diffstat (limited to 'mk/compiler/ccache.mk')
-rw-r--r-- | mk/compiler/ccache.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/compiler/ccache.mk b/mk/compiler/ccache.mk index b1b0fae7353..cd5cbd18412 100644 --- a/mk/compiler/ccache.mk +++ b/mk/compiler/ccache.mk @@ -1,4 +1,4 @@ -# $NetBSD: ccache.mk,v 1.1 2004/02/01 00:31:00 jlam Exp $ +# $NetBSD: ccache.mk,v 1.2 2004/02/01 01:33:06 jlam Exp $ .if !defined(COMPILER_CCACHE_MK) COMPILER_CCACHE_MK= defined @@ -30,8 +30,8 @@ _CCACHEBASE?= ${LOCALBASE} _CCACHE_DIR= ${WRKDIR}/.ccache PATH:= ${_CCACHE_DIR}/bin:${PATH} -CC= ${_CCACHE_DIR}/bin/cc -CXX= ${_CCACHE_DIR}/bin/c++ +CC:= ${_CCACHE_DIR}/bin/${CC:T} +CXX:= ${_CCACHE_DIR}/bin/${CXX:T} . for _target_ in CC CXX override-tools: ${${_target_}} |