diff options
author | sno <sno@pkgsrc.org> | 2009-10-25 17:15:44 +0000 |
---|---|---|
committer | sno <sno@pkgsrc.org> | 2009-10-25 17:15:44 +0000 |
commit | 3228bdecf6cb5772695ddaeba5625d550539038c (patch) | |
tree | cab15a0d073fb35b0eb4a9679a002e289fb76eca /mk | |
parent | b2462d65c13198a0fd8459d282f38a0f4f24fd57 (diff) | |
download | pkgsrc-3228bdecf6cb5772695ddaeba5625d550539038c.tar.gz |
recognize compiler newer than 5.9, too
Diffstat (limited to 'mk')
-rw-r--r-- | mk/compiler/sunpro.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/compiler/sunpro.mk b/mk/compiler/sunpro.mk index 0fb7aa0f890..15aa584f31e 100644 --- a/mk/compiler/sunpro.mk +++ b/mk/compiler/sunpro.mk @@ -1,4 +1,4 @@ -# $NetBSD: sunpro.mk,v 1.45 2009/05/12 05:44:02 rillig Exp $ +# $NetBSD: sunpro.mk,v 1.46 2009/10/25 17:15:44 sno Exp $ # # This is the compiler definition for the SUNWspro C compiler. # @@ -85,7 +85,7 @@ CC_VERSION?= cc: Sun C .endif # SunPro compiler must be passed certain flags to compile/link 64-bit code. -.if !empty(CC_VERSION:M5.9) +.if !empty(CC_VERSION:M5.9) || !empty(CC_VERSION:M5.1[0-9]) _COMPILER_ABI_FLAG.64= -m64 .elif ${MACHINE_ARCH} == "sparc" _COMPILER_ABI_FLAG.64= -xtarget=ultra -xarch=v9 |