summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk')
-rw-r--r--mk/compiler/gcc.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/compiler/gcc.mk b/mk/compiler/gcc.mk
index 257a4ef313c..354e3ee573b 100644
--- a/mk/compiler/gcc.mk
+++ b/mk/compiler/gcc.mk
@@ -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 @@ IMAKEOPTS+= -DHasGcc2=YES -DHasGcc2ForCplusplus=YES
_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