Add sparc64 support.

This commit is contained in:
eeh 1998-11-28 22:44:22 +00:00
parent dd597a541c
commit 56fb54c1af
2 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.13 1998/08/27 21:44:28 tv Exp $ # $NetBSD: Makefile.inc,v 1.14 1998/11/28 22:44:22 eeh Exp $
.if !defined(GCC_MAKEFILE_INC) .if !defined(GCC_MAKEFILE_INC)
GCC_MAKEFILE_INC=1 GCC_MAKEFILE_INC=1
@ -7,7 +7,7 @@ GCC_MAKEFILE_INC=1
# These architectures are Cygnus's default for enabling Haifa # These architectures are Cygnus's default for enabling Haifa
.if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "powerpc") || \ .if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "powerpc") || \
(${MACHINE_ARCH} == "sparc") (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "sparc64")
USE_EGCS_HAIFA=1 USE_EGCS_HAIFA=1
.endif .endif

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.21 1998/11/16 09:45:48 frueauf Exp $ # $NetBSD: Makefile,v 1.22 1998/11/28 22:44:22 eeh Exp $
.include "../Makefile.inc" .include "../Makefile.inc"
@ -11,6 +11,8 @@ YHEADER=1
# GNU (gcc,gas) uses "mips" as arch-dependent filename for mipsel and mipseb # GNU (gcc,gas) uses "mips" as arch-dependent filename for mipsel and mipseb
.if (${MACHINE_ARCH} == "mips") .if (${MACHINE_ARCH} == "mips")
GCC_ARCH?= ${MACHINE_ARCH} GCC_ARCH?= ${MACHINE_ARCH}
.elif (${MACHINE_ARCH} == "sparc64")
GCC_ARCH?= sparc
.else .else
GCC_ARCH?= ${MACHINE_GNU_ARCH} GCC_ARCH?= ${MACHINE_GNU_ARCH}
.endif .endif