diff --git a/gnu/usr.bin/egcs/Makefile.inc b/gnu/usr.bin/egcs/Makefile.inc index 8a116f216066..59359cbf4374 100644 --- a/gnu/usr.bin/egcs/Makefile.inc +++ b/gnu/usr.bin/egcs/Makefile.inc @@ -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) GCC_MAKEFILE_INC=1 @@ -7,7 +7,7 @@ GCC_MAKEFILE_INC=1 # These architectures are Cygnus's default for enabling Haifa .if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "powerpc") || \ - (${MACHINE_ARCH} == "sparc") + (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "sparc64") USE_EGCS_HAIFA=1 .endif diff --git a/gnu/usr.bin/egcs/common/Makefile b/gnu/usr.bin/egcs/common/Makefile index 25a94fcdc206..aab3eea8ba3b 100644 --- a/gnu/usr.bin/egcs/common/Makefile +++ b/gnu/usr.bin/egcs/common/Makefile @@ -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" @@ -11,6 +11,8 @@ YHEADER=1 # GNU (gcc,gas) uses "mips" as arch-dependent filename for mipsel and mipseb .if (${MACHINE_ARCH} == "mips") GCC_ARCH?= ${MACHINE_ARCH} +.elif (${MACHINE_ARCH} == "sparc64") +GCC_ARCH?= sparc .else GCC_ARCH?= ${MACHINE_GNU_ARCH} .endif