summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gcc/config.guess
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/config.guess
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/config.guess')
-rw-r--r--gnu/usr.bin/gcc/config.guess3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/config.guess b/gnu/usr.bin/gcc/config.guess
index 4fc21ecc3aa..d374ffca404 100644
--- a/gnu/usr.bin/gcc/config.guess
+++ b/gnu/usr.bin/gcc/config.guess
@@ -199,6 +199,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
amiga:OpenBSD:*:*)
echo m68k-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
+ amd64:OpenBSD:*:*)
+ echo x86_64-unknown-openbsd${UNAME_RELEASE}
+ exit 0 ;;
arc:OpenBSD:*:*)
echo mipsel-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;