pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/compiler Add 32 bit and 64 ABI options for GCC unde...
details: https://anonhg.NetBSD.org/pkgsrc/rev/89773941fd41
branches: trunk
changeset: 399057:89773941fd41
user: tron <tron%pkgsrc.org@localhost>
date: Sat Sep 12 21:42:27 2009 +0000
description:
Add 32 bit and 64 ABI options for GCC under Mac OS X.
diffstat:
mk/compiler/gcc.mk | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 8731aa263ca6 -r 89773941fd41 mk/compiler/gcc.mk
--- a/mk/compiler/gcc.mk Sat Sep 12 21:42:21 2009 +0000
+++ b/mk/compiler/gcc.mk Sat Sep 12 21:42:27 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.99 2009/07/28 06:55:24 rillig Exp $
+# $NetBSD: gcc.mk,v 1.100 2009/09/12 21:42:27 tron Exp $
#
# This is the compiler definition for the GNU Compiler Collection.
#
@@ -453,6 +453,11 @@
_COMPILER_ABI_FLAG.64= -m64
.endif
+.if ${OPSYS} == "Darwin"
+_COMPILER_ABI_FLAG.32= -m32
+_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