summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gcc/Makefile.bsd-wrapper
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-02-27 17:40:16 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-02-27 17:40:16 +0000
commit3cee92f9131fbe3834f3a5dcae520fdf1369bcb6 (patch)
treea5d0303f54979f12b083fee7d3f4586ab851c555 /gnu/usr.bin/gcc/Makefile.bsd-wrapper
parent62b06203655b6b85ebdd843a9b2f021f672955ea (diff)
cope with MACHINE_ARCH changing from x86_64 to amd64. For now, we want
the toolchain to remain at the name x86_64. Tested on all other architectures that care. Done as very small snippets, so that espie does not blow a fuse.
Diffstat (limited to 'gnu/usr.bin/gcc/Makefile.bsd-wrapper')
-rw-r--r--gnu/usr.bin/gcc/Makefile.bsd-wrapper6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/usr.bin/gcc/Makefile.bsd-wrapper b/gnu/usr.bin/gcc/Makefile.bsd-wrapper
index bbf5c0f6f2d..5890698bcc0 100644
--- a/gnu/usr.bin/gcc/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/gcc/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.47 2004/02/21 01:06:47 espie Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.48 2004/02/27 17:40:15 deraadt Exp $
MAN= gcc.1 cpp.1 gcov.1 protoize.1
MLINKS+= protoize.1 unprotoize.1
@@ -55,7 +55,9 @@ CLEANFILES= .gdbinit */.gdbinit *.info* \
genrtl.c genrtl.h fixinc.sh fixinc/Makefile \
po/Makefile po/Makefile.in po/POTFILES
-.if ${MACHINE} == "arc" || ${MACHINE} == "pmax" || ${MACHINE} == "wgrisc"
+.if ${MACHINE} == "amd64"
+M_ARCH= x86_64
+.elif ${MACHINE} == "arc" || ${MACHINE} == "pmax" || ${MACHINE} == "wgrisc"
M_ARCH= mipsel
.elif ${MACHINE} == "hkmips" || ${MACHINE} == "sgi"
M_ARCH= mips