summaryrefslogtreecommitdiff
path: root/gnu/lib/libstdc++/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/lib/libstdc++/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/lib/libstdc++/config.guess')
-rwxr-xr-xgnu/lib/libstdc++/config.guess3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/lib/libstdc++/config.guess b/gnu/lib/libstdc++/config.guess
index 4fc21ecc3aa..4054f16bdc8 100755
--- a/gnu/lib/libstdc++/config.guess
+++ b/gnu/lib/libstdc++/config.guess
@@ -202,6 +202,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
arc:OpenBSD:*:*)
echo mipsel-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
+ amd64:OpenBSD:*:*)
+ echo x86_64-unknown-openbsd${UNAME_RELEASE}
+ exit 0 ;;
hp300:OpenBSD:*:*)
echo m68k-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;