pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/compiler recognize compiler newer than 5.9, too



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cba516c33719
branches:  trunk
changeset: 400715:cba516c33719
user:      sno <sno%pkgsrc.org@localhost>
date:      Sun Oct 25 17:15:44 2009 +0000

description:
recognize compiler newer than 5.9, too

diffstat:

 mk/compiler/sunpro.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f158ea26a465 -r cba516c33719 mk/compiler/sunpro.mk
--- a/mk/compiler/sunpro.mk     Sun Oct 25 14:59:10 2009 +0000
+++ b/mk/compiler/sunpro.mk     Sun Oct 25 17:15:44 2009 +0000
@@ -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 @@
 .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



Home | Main Index | Thread Index | Old Index