summaryrefslogtreecommitdiff
path: root/mk/compiler
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-01-10 19:38:53 +0000
committerjlam <jlam@pkgsrc.org>2005-01-10 19:38:53 +0000
commitb7a25d23490b0653098895bf0666b0d51572f89e (patch)
tree6cff877c57b5beb025fabe97828afcd0d10eace5 /mk/compiler
parent358477e266b3ac2bfd6c7bbc84289a8f34f540c4 (diff)
downloadpkgsrc-b7a25d23490b0653098895bf0666b0d51572f89e.tar.gz
_ALIASES.<wrappee> should be cumulative.
Diffstat (limited to 'mk/compiler')
-rw-r--r--mk/compiler/ccache.mk6
-rw-r--r--mk/compiler/distcc.mk6
2 files changed, 6 insertions, 6 deletions
diff --git a/mk/compiler/ccache.mk b/mk/compiler/ccache.mk
index 0e8a2c9bf18..1dcb22cd8eb 100644
--- a/mk/compiler/ccache.mk
+++ b/mk/compiler/ccache.mk
@@ -1,4 +1,4 @@
-# $NetBSD: ccache.mk,v 1.22 2005/01/10 08:59:07 jlam Exp $
+# $NetBSD: ccache.mk,v 1.23 2005/01/10 19:38:53 jlam Exp $
.if !defined(COMPILER_CCACHE_MK)
COMPILER_CCACHE_MK= defined
@@ -42,14 +42,14 @@ _CCACHE_VARS= # empty
PKG_CC?= ${CC}
_CCACHE_VARS+= CC
_CCACHE_CC:= ${_CCACHE_DIR}/bin/${PKG_CC:T}
-_ALIASES.CC?= cc
+_ALIASES.CC+= cc
PKG_CC:= ${_CCACHE_CC}
. endif
. if !empty(_LANGUAGES.ccache:Mc++)
PKG_CXX?= ${CXX}
_CCACHE_VARS+= CXX
_CCACHE_CXX:= ${_CCACHE_DIR}/bin/${PKG_CXX:T}
-_ALIASES.CXX?= c++
+_ALIASES.CXX+= c++
PKG_CXX:= ${_CCACHE_CXX}
. endif
diff --git a/mk/compiler/distcc.mk b/mk/compiler/distcc.mk
index 3c6ff84f6de..5bad950068f 100644
--- a/mk/compiler/distcc.mk
+++ b/mk/compiler/distcc.mk
@@ -1,4 +1,4 @@
-# $NetBSD: distcc.mk,v 1.23 2005/01/10 08:59:07 jlam Exp $
+# $NetBSD: distcc.mk,v 1.24 2005/01/10 19:38:53 jlam Exp $
.if !defined(COMPILER_DISTCC_MK)
COMPILER_DISTCC_MK= defined
@@ -42,14 +42,14 @@ _DISTCC_VARS= # empty
PKG_CC?= ${CC}
_DISTCC_VARS+= CC
_DISTCC_CC:= ${_DISTCC_DIR}/bin/${PKG_CC:T}
-_ALIASES.CC?= cc
+_ALIASES.CC+= cc
PKG_CC:= ${_DISTCC_CC}
. endif
. if !empty(_LANGUAGES.distcc:Mc++)
PKG_CXX?= ${CXX}
_DISTCC_VARS+= CXX
_DISTCC_CXX:= ${_DISTCC_DIR}/bin/${PKG_CXX:T}
-_ALIASES.CXX?= c++
+_ALIASES.CXX+= c++
PKG_CXX:= ${_DISTCC_CXX}
. endif