diff options
author | jlam <jlam@pkgsrc.org> | 2004-02-12 08:54:48 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-02-12 08:54:48 +0000 |
commit | 3d0294d0d4d10cb9e1d9bc4f2365a39416337fea (patch) | |
tree | 9b431947dc1b952aaa3bd5800cea32e48bb58c10 /mk/compiler/mipspro.mk | |
parent | 512eb8c316a8d80164db4e89ebc64bd9ee7eac5f (diff) | |
download | pkgsrc-3d0294d0d4d10cb9e1d9bc4f2365a39416337fea.tar.gz |
Generate a more informative string "CC_VERSION_STRING" that is passed to
ccache as the compiler information to hash.
Diffstat (limited to 'mk/compiler/mipspro.mk')
-rw-r--r-- | mk/compiler/mipspro.mk | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mk/compiler/mipspro.mk b/mk/compiler/mipspro.mk index e3471d2e12a..c38a628cabf 100644 --- a/mk/compiler/mipspro.mk +++ b/mk/compiler/mipspro.mk @@ -1,4 +1,4 @@ -# $NetBSD: mipspro.mk,v 1.16 2004/02/09 05:50:03 jlam Exp $ +# $NetBSD: mipspro.mk,v 1.17 2004/02/12 08:54:48 jlam Exp $ .if !defined(COMPILER_MIPSPRO_MK) COMPILER_MIPSPRO_MK= one @@ -34,9 +34,11 @@ CXX= ${PKG_CXX:T} . if exists(${MIPSPROBASE}/bin/cc) # MIPSpro Compilers: Version 7.3.1.2m -CC_VERSION!= ${MIPSPROBASE}/bin/cc -version 2>&1 | ${GREP} '^MIPSpro' +CC_VERSION_STRING!= ${MIPSPROBASE}/bin/cc -version 2>&1 +CC_VERSION!= ${MIPSPROBASE}/bin/cc -version 2>&1 | ${GREP} '^MIPSpro' . else -CC_VERSION= MIPSpro +CC_VERSION_STRING= ${CC_VERSION} +CC_VERSION= MIPSpro Compilers . endif .endif # COMPILER_MIPSPRO_MK |