aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-06-03 15:36:55 +0000
committermerakor <cem@ckyln.com>2020-06-03 15:36:55 +0000
commitcc90d7acebcdbf34a1e075f3489e0a3e267e5aee (patch)
tree18c254c71b9038fa4cfe7ed6890bd5e0cce2d16f /contrib
parent32142a0327c3da5e072ead2671a924afd3d1a69c (diff)
downloadcpt-cc90d7acebcdbf34a1e075f3489e0a3e267e5aee.tar.gz
kiss-chroot: fix x86_64 hosts
FossilOrigin-Name: 80b11054f9bdd26c97c3168200639d34087bc68909e9a4bff5b1469b125bc804
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/kiss-chroot5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/kiss-chroot b/contrib/kiss-chroot
index 47a2636..931b9e3 100755
--- a/contrib/kiss-chroot
+++ b/contrib/kiss-chroot
@@ -32,8 +32,9 @@ main() {
[ "$2" ] || {
march=$(uname -m 2>/dev/null) ||:
case "$march" in
- '') march=native ;;
- i*86) march=i686 ;;
+ '') march=native ;;
+ x86_64) march=x86-64 ;;
+ i*86) march=i686 ;;
esac
}