summaryrefslogtreecommitdiff
path: root/usr.bin/sudo/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 /usr.bin/sudo/config.guess
parentae2ff0569d4d1333b9ce84093d184391379216b7 (diff)
unfuck amd64
Diffstat (limited to 'usr.bin/sudo/config.guess')
-rw-r--r--usr.bin/sudo/config.guess3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/sudo/config.guess b/usr.bin/sudo/config.guess
index d3e7afb9539..2acb590b61a 100644
--- a/usr.bin/sudo/config.guess
+++ b/usr.bin/sudo/config.guess
@@ -197,6 +197,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}