diff options
author | tron <tron> | 2009-09-12 21:42:27 +0000 |
---|---|---|
committer | tron <tron> | 2009-09-12 21:42:27 +0000 |
commit | 56b6e1f59d2acc7f7ffe53fb3cffeeab37fe8039 (patch) | |
tree | 8d66e47f38bfb0ae4f30521fd7e1ef6138d8701e /mk | |
parent | 3c7e726eee5838ee301415f93689689822cc5c45 (diff) | |
download | pkgsrc-56b6e1f59d2acc7f7ffe53fb3cffeeab37fe8039.tar.gz |
Add 32 bit and 64 ABI options for GCC under Mac OS X.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/compiler/gcc.mk | 7 |
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 |