Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20261110014724.82507-1-alex@alexrp.com>
Date: Tue, 10 Nov 2026 02:47:24 +0100
From: Alex Rønne Petersen <alex@...xrp.com>
To: musl@...ts.openwall.com
Cc: Alex Rønne Petersen <alex@...xrp.com>
Subject: [PATCH] configure: recognize x86-* target triples as i386

Some years back, zig cc switched from the traditional "i?86" to "x86" for
the arch tag representing 32-bit x86. So x86 will show up in -dumpmachine
when using zig cc. config.sub also recognizes the x86 spelling.
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index bc9fbe48..744929eb 100755
--- a/configure
+++ b/configure
@@ -324,7 +324,7 @@ case "$target" in
 arm*) ARCH=arm ;;
 aarch64*) ARCH=aarch64 ;;
 i?86-nt32*) ARCH=nt32 ;;
-i?86*) ARCH=i386 ;;
+i?86*|x86-*) ARCH=i386 ;;
 x86_64-x32*|x32*|x86_64*x32) ARCH=x32 ;;
 x86_64-nt64*) ARCH=nt64 ;;
 x86_64*) ARCH=x86_64 ;;
-- 
2.53.0

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.