diff options
author | jlam <jlam> | 2004-02-12 11:50:46 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-02-12 11:50:46 +0000 |
commit | 8935d78365464149d42a5d4d6f48165b86d9083f (patch) | |
tree | 097ab24316577269a4de39f51fdee2cb8fab4dc5 | |
parent | 9e00a601f9d585c927b5b439d1c5e73b7fee07dc (diff) | |
download | pkgsrc-8935d78365464149d42a5d4d6f48165b86d9083f.tar.gz |
Prevent non-zero exit status when calling the compiler to print out the
version string.
-rw-r--r-- | mk/compiler/mipspro.mk | 4 | ||||
-rw-r--r-- | mk/compiler/sunpro.mk | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/mk/compiler/mipspro.mk b/mk/compiler/mipspro.mk index c38a628cabf..6e6d00152f5 100644 --- a/mk/compiler/mipspro.mk +++ b/mk/compiler/mipspro.mk @@ -1,4 +1,4 @@ -# $NetBSD: mipspro.mk,v 1.17 2004/02/12 08:54:48 jlam Exp $ +# $NetBSD: mipspro.mk,v 1.18 2004/02/12 11:50:46 jlam Exp $ .if !defined(COMPILER_MIPSPRO_MK) COMPILER_MIPSPRO_MK= one @@ -34,7 +34,7 @@ CXX= ${PKG_CXX:T} . if exists(${MIPSPROBASE}/bin/cc) # MIPSpro Compilers: Version 7.3.1.2m -CC_VERSION_STRING!= ${MIPSPROBASE}/bin/cc -version 2>&1 +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} diff --git a/mk/compiler/sunpro.mk b/mk/compiler/sunpro.mk index 9a997dc6baa..ee1b7934368 100644 --- a/mk/compiler/sunpro.mk +++ b/mk/compiler/sunpro.mk @@ -1,4 +1,4 @@ -# $NetBSD: sunpro.mk,v 1.15 2004/02/12 08:54:48 jlam Exp $ +# $NetBSD: sunpro.mk,v 1.16 2004/02/12 11:50:46 jlam Exp $ .if !defined(COMPILER_SUNPRO_MK) COMPILER_SUNPRO_MK= one @@ -35,7 +35,7 @@ CXX= ${PKG_CXX:T} _COMPILER_LD_FLAG= # empty . if exists(${SUNWSPROBASE}/bin/cc) -CC_VERSION_STRING!= ${SUNWSPROBASE}/bin/cc -V 2>&1 +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} |