summaryrefslogtreecommitdiff
path: root/mk/compiler/mipspro.mk
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2004-11-23 00:46:26 +0000
committerdmcmahill <dmcmahill>2004-11-23 00:46:26 +0000
commitaadfd9559d17d5be79c998b623f3ce8e2bac668d (patch)
tree9eba68a1aa2cef268350c60f831fa3fa594b4e92 /mk/compiler/mipspro.mk
parent452ff23192f79423bc127a0c056a1fd3a745df1e (diff)
downloadpkgsrc-aadfd9559d17d5be79c998b623f3ce8e2bac668d.tar.gz
add {CC,CXX,FC,F77}PATH variables which give the complete path and
name of the {CC,CXX,FC,F77} compilers. These will be used by pkgs which need to know which compiler and where it is at run time. Approved by jlam@
Diffstat (limited to 'mk/compiler/mipspro.mk')
-rw-r--r--mk/compiler/mipspro.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/compiler/mipspro.mk b/mk/compiler/mipspro.mk
index cccaa5d6a53..9be1f9b4688 100644
--- a/mk/compiler/mipspro.mk
+++ b/mk/compiler/mipspro.mk
@@ -1,4 +1,4 @@
-# $NetBSD: mipspro.mk,v 1.26 2004/09/21 15:01:41 jlam Exp $
+# $NetBSD: mipspro.mk,v 1.27 2004/11/23 00:46:26 dmcmahill Exp $
.if !defined(COMPILER_MIPSPRO_MK)
COMPILER_MIPSPRO_MK= defined
@@ -24,12 +24,14 @@ _MIPSPRO_CC= ${_MIPSPRO_DIR}/bin/cc
_MIPSPRO_LINKS+= _MIPSPRO_CC
PKG_CC= ${_MIPSPRO_CC}
CC= ${PKG_CC:T}
+CCPATH= ${MIPSPROBASE}/bin/cc
.endif
.if exists(${MIPSPROBASE}/bin/CC)
_MIPSPRO_CXX= ${_MIPSPRO_DIR}/bin/CC
_MIPSPRO_LINKS+= _MIPSPRO_CXX
PKG_CXX= ${_MIPSPRO_CXX}
CXX= ${PKG_CXX:T}
+CXXPATH= ${MIPSPROBASE}/bin/CC
.endif
.if exists(${MIPSPROBASE}/bin/cc)