diff options
author | jlam <jlam> | 2004-02-18 11:13:54 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-02-18 11:13:54 +0000 |
commit | 606edd0dc0c5e91c4cc0f3e503a14c62e4b6e43d (patch) | |
tree | 24100dedb1214ae71cd517db73953ce718a965a5 /mk | |
parent | fbaebbe7e45863cf0f3b58c3a33b3e35bdc4dcdd (diff) | |
download | pkgsrc-606edd0dc0c5e91c4cc0f3e503a14c62e4b6e43d.tar.gz |
Allow overriding CC_VERSION_STRING and CC_VERSION.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/compiler/mipspro.mk | 6 | ||||
-rw-r--r-- | mk/compiler/sunpro.mk | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/mk/compiler/mipspro.mk b/mk/compiler/mipspro.mk index add6d568105..c63eb6543a4 100644 --- a/mk/compiler/mipspro.mk +++ b/mk/compiler/mipspro.mk @@ -1,4 +1,4 @@ -# $NetBSD: mipspro.mk,v 1.20 2004/02/15 13:34:33 jlam Exp $ +# $NetBSD: mipspro.mk,v 1.21 2004/02/18 11:13:54 jlam Exp $ .if !defined(COMPILER_MIPSPRO_MK) COMPILER_MIPSPRO_MK= one @@ -35,8 +35,8 @@ CXX= ${PKG_CXX:T} CC_VERSION_STRING!= ${MIPSPROBASE}/bin/cc -version 2>&1 || ${TRUE} CC_VERSION!= ${MIPSPROBASE}/bin/cc -version 2>&1 | ${GREP} '^MIPSpro' . else -CC_VERSION_STRING= ${CC_VERSION} -CC_VERSION= MIPSpro Compilers +CC_VERSION_STRING?= ${CC_VERSION} +CC_VERSION?= MIPSpro Compilers . endif .endif # COMPILER_MIPSPRO_MK diff --git a/mk/compiler/sunpro.mk b/mk/compiler/sunpro.mk index deb2721bd18..7512e4d593b 100644 --- a/mk/compiler/sunpro.mk +++ b/mk/compiler/sunpro.mk @@ -1,4 +1,4 @@ -# $NetBSD: sunpro.mk,v 1.18 2004/02/15 13:34:33 jlam Exp $ +# $NetBSD: sunpro.mk,v 1.19 2004/02/18 11:13:54 jlam Exp $ .if !defined(COMPILER_SUNPRO_MK) COMPILER_SUNPRO_MK= one @@ -36,8 +36,8 @@ _COMPILER_LD_FLAG= # empty CC_VERSION_STRING!= ${SUNWSPROBASE}/bin/cc -V 2>&1 || ${TRUE} CC_VERSION!= ${SUNWSPROBASE}/bin/cc -V 2>&1 | ${GREP} '^cc' . else -CC_VERSION_STRING= ${CC_VERSION} -CC_VERSION= cc: Sun C +CC_VERSION_STRING?= ${CC_VERSION} +CC_VERSION?= cc: Sun C . endif .endif # COMPILER_SUNPRO_MK |