summaryrefslogtreecommitdiff
path: root/mk/compiler
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-05-17 19:06:21 +0000
committerrillig <rillig@pkgsrc.org>2005-05-17 19:06:21 +0000
commite251db98e25fb3b959abdd9bdd152f7ddd2f1ce9 (patch)
treec0faf85a0d0b844707fea78c9e56d7500e526bd1 /mk/compiler
parentfeabae83e248e865ce99620b523f7593d462c455 (diff)
downloadpkgsrc-e251db98e25fb3b959abdd9bdd152f7ddd2f1ce9.tar.gz
The sunpro wrapper now creates aliases for gcc and g++, too. This is needed
because the <sys.mk> Makefile fragment sets CC?=gcc.
Diffstat (limited to 'mk/compiler')
-rw-r--r--mk/compiler/sunpro.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/compiler/sunpro.mk b/mk/compiler/sunpro.mk
index 7706ef67b16..aa35267bd4f 100644
--- a/mk/compiler/sunpro.mk
+++ b/mk/compiler/sunpro.mk
@@ -1,4 +1,4 @@
-# $NetBSD: sunpro.mk,v 1.31 2005/01/12 18:37:52 jlam Exp $
+# $NetBSD: sunpro.mk,v 1.32 2005/05/17 19:06:21 rillig Exp $
.if !defined(COMPILER_SUNPRO_MK)
COMPILER_SUNPRO_MK= defined
@@ -18,7 +18,7 @@ _SUNPRO_VARS= # empty
LANGUAGES.sunpro+= c
_SUNPRO_VARS+= CC
_SUNPRO_CC= ${_SUNPRO_DIR}/bin/cc
-_ALIASES.CC= cc
+_ALIASES.CC= cc gcc
CCPATH= ${SUNWSPROBASE}/bin/cc
PKG_CC:= ${_SUNPRO_CC}
.endif
@@ -26,7 +26,7 @@ PKG_CC:= ${_SUNPRO_CC}
LANGUAGES.sunpro+= c++
_SUNPRO_VARS+= CXX
_SUNPRO_CXX= ${_SUNPRO_DIR}/bin/CC
-_ALIASES.CXX= CC c++
+_ALIASES.CXX= CC c++ g++
CXXPATH= ${SUNWSPROBASE}/bin/CC
PKG_CXX:= ${_SUNPRO_CXX}
.endif