pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/compiler On Solaris set _COMPILER_ABI_FLAG.64 to be...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b4e21b25519a
branches:  trunk
changeset: 515663:b4e21b25519a
user:      markd <markd%pkgsrc.org@localhost>
date:      Thu Jul 06 11:48:03 2006 +0000

description:
On Solaris set _COMPILER_ABI_FLAG.64 to be consistent with the sunpro
settings.

diffstat:

 mk/compiler/gcc.mk |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 6a6a13c4c49f -r b4e21b25519a mk/compiler/gcc.mk
--- a/mk/compiler/gcc.mk        Thu Jul 06 11:46:33 2006 +0000
+++ b/mk/compiler/gcc.mk        Thu Jul 06 11:48:03 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.83 2006/04/05 12:31:24 shannonjr Exp $
+# $NetBSD: gcc.mk,v 1.84 2006/07/06 11:48:03 markd Exp $
 
 .if !defined(COMPILER_GCC_MK)
 COMPILER_GCC_MK=       defined
@@ -377,6 +377,10 @@
 IMAKEOPTS+=    -DHasGcc2=YES -DHasGcc2ForCplusplus=YES
 .endif
 
+.if ${OPSYS} == "SunOS"
+_COMPILER_ABI_FLAG.64=  -m64
+.endif
+
 .if !empty(_USE_PKGSRC_GCC:M[yY][eE][sS])
 .  if exists(${CCPATH})
 CC_VERSION_STRING!=    ${CCPATH} -v 2>&1



Home | Main Index | Thread Index | Old Index