add powerpc64 support

This commit is contained in:
matt 2014-08-22 15:27:50 +00:00
parent 46b6cca670
commit 9205e77af0
3 changed files with 14 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2014/03/01 10:00:47 mrg Exp $
# $NetBSD: Makefile,v 1.2 2014/08/22 15:27:50 matt Exp $
# install multilib c++config.h files
@ -17,6 +17,11 @@ SUBDIR= mips64 mips32 mipso32
CXXCONFIGARGS= mips64 _ABI64 mipso32 _ABIO32 mips32
.endif
.if ${MACHINE_ARCH} == "powerpc64"
SUBDIR= powerpc powerpc64
CXXCONFIGARGS= powerpc64 _LP64 powerpc
.endif
# XXX arm variants are missing, but hopefully won't need them
# until aarch64 anyway.

View File

@ -0,0 +1,4 @@
# $NetBSD: Makefile,v 1.1 2014/08/22 15:27:51 matt Exp $
GCC_MACHINE_ARCH=powerpc
.include "../Makefile.arch_bits"

View File

@ -0,0 +1,4 @@
# $NetBSD: Makefile,v 1.1 2014/08/22 15:27:51 matt Exp $
GCC_MACHINE_ARCH=powerpc64
.include "../Makefile.arch_bits"