diff options
author | jlam <jlam> | 2004-02-01 01:33:06 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-02-01 01:33:06 +0000 |
commit | 72233afa1e7c1b012929383d9708ef44e73caebc (patch) | |
tree | e06e84635bdc9176f7d6e05e805189e52b7ec81c | |
parent | 5e99913d21df9b4d11d35aea343d822ecb015682 (diff) | |
download | pkgsrc-72233afa1e7c1b012929383d9708ef44e73caebc.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.
-rw-r--r-- | mk/compiler/ccache.mk | 6 | ||||
-rw-r--r-- | mk/compiler/distcc.mk | 6 |
2 files changed, 6 insertions, 6 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_}} diff --git a/mk/compiler/distcc.mk b/mk/compiler/distcc.mk index ad38d68a124..f32af1ba352 100644 --- a/mk/compiler/distcc.mk +++ b/mk/compiler/distcc.mk @@ -1,4 +1,4 @@ -# $NetBSD: distcc.mk,v 1.1 2004/02/01 00:31:00 jlam Exp $ +# $NetBSD: distcc.mk,v 1.2 2004/02/01 01:33:06 jlam Exp $ .if !defined(COMPILER_DISTCC_MK) COMPILER_DISTCC_MK= defined @@ -30,8 +30,8 @@ _DISTCCBASE?= ${LOCALBASE} _DISTCC_DIR= ${WRKDIR}/.distcc PATH:= ${_DISTCC_DIR}/bin:${PATH} -CC= ${_DISTCC_DIR}/bin/cc -CXX= ${_DISTCC_DIR}/bin/c++ +CC:= ${_DISTCC_DIR}/bin/${CC:T} +CXX:= ${_DISTCC_DIR}/bin/${CXX:T} . for _target_ in CC CXX override-tools: ${${_target_}} |