diff options
author | tron <tron@pkgsrc.org> | 2009-09-12 21:42:27 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2009-09-12 21:42:27 +0000 |
commit | e58fa0367a9f4b0b929a8fb072a5a27721fdada1 (patch) | |
tree | 8d66e47f38bfb0ae4f30521fd7e1ef6138d8701e /mk | |
parent | 941491764bba58aa0a260ac55898bdc393932ce9 (diff) | |
download | pkgsrc-e58fa0367a9f4b0b929a8fb072a5a27721fdada1.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 |