summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gcc/config.guess
diff options
context:
space:
mode:
authorPeter Valchev <pvalchev@cvs.openbsd.org>2005-02-04 09:31:31 +0000
committerPeter Valchev <pvalchev@cvs.openbsd.org>2005-02-04 09:31:31 +0000
commit8a2ea788a80e2025c913ab73dd0c185ec3632c22 (patch)
treeb10641cc2d4cd5fa8af2744b1f9cd9ae561939a6 /gnu/usr.bin/gcc/config.guess
parentae2ff0569d4d1333b9ce84093d184391379216b7 (diff)
unfuck amd64
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 c989465abca..e67c69a666f 100644
--- a/gnu/usr.bin/gcc/config.guess
+++ b/gnu/usr.bin/gcc/config.guess
@@ -196,6 +196,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
echo "${machine}-${os}${release}"
exit 0 ;;
+ amd64:OpenBSD:*:*)
+ echo x86_64-unknown-openbsd${UNAME_RELEASE}
+ exit 0 ;;
*:OpenBSD:*:*)
UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}