diff options
author | jperkin <jperkin> | 2012-06-26 15:48:53 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2012-06-26 15:48:53 +0000 |
commit | d73800a80b3167194d2b0c64fa065d4564ca9136 (patch) | |
tree | 861669a95a8f2cb82f50d6b7ecdfdf3f46480c90 /mk/compiler | |
parent | e9f3e1d5a56be32eb109079a9f06e2f5987698c6 (diff) | |
download | pkgsrc-d73800a80b3167194d2b0c64fa065d4564ca9136.tar.gz |
Solaris needs -m32 for ABI=32 too, now that we have compilers which build
64-bit by default.
Diffstat (limited to 'mk/compiler')
-rw-r--r-- | mk/compiler/gcc.mk | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/mk/compiler/gcc.mk b/mk/compiler/gcc.mk index d3974bd6c8b..ccedd899875 100644 --- a/mk/compiler/gcc.mk +++ b/mk/compiler/gcc.mk @@ -1,4 +1,4 @@ -# $NetBSD: gcc.mk,v 1.120 2012/04/25 16:28:18 hans Exp $ +# $NetBSD: gcc.mk,v 1.121 2012/06/26 15:48:53 jperkin Exp $ # # This is the compiler definition for the GNU Compiler Collection. # @@ -607,16 +607,7 @@ _COMPILER_STRIP_VARS+= ${_GCC_VARS} IMAKEOPTS+= -DHasGcc2=YES -DHasGcc2ForCplusplus=YES .endif -.if ${OPSYS} == "SunOS" -_COMPILER_ABI_FLAG.64= -m64 -.endif - -.if ${OPSYS} == "Darwin" -_COMPILER_ABI_FLAG.32= -m32 -_COMPILER_ABI_FLAG.64= -m64 -.endif - -.if ${OPSYS} == "Linux" +.if ${OPSYS} == "Darwin" || ${OPSYS} == "Linux" || ${OPSYS} == "SunOS" _COMPILER_ABI_FLAG.32= -m32 _COMPILER_ABI_FLAG.64= -m64 .endif |