summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2025-11-22 23:14:22 +0800
committerruki <[email protected]>2025-11-22 23:14:22 +0800
commit2ed40caeb0a46f3a5ffb83b85e136c3289e0ed96 (patch)
tree50766049cf8a86a278ffe51bd77e2e750913aaf2
parent4d438db68aab347b6808ee81ddc7cdac1a123285 (diff)
improve configure
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index dc174d9ea..348a14c4b 100755
--- a/configure
+++ b/configure
@@ -712,7 +712,7 @@ is_host() {
# detect host architecture
os_arch=`uname -m | tr '[A-Z]' '[a-z]'`
-if test_eq "${os_arch}" "i686" "i86pc"; then
+if test_eq "${os_arch}" "i686" || test_eq "${os_arch}" "i86pc"; then
os_arch="i386"
elif test_eq "${os_arch}" "amd64"; then
os_arch="x86_64"