bpo-46446: Like FreeBSD, MULTIARCH should not be passed on OpenBSD (GH-30721)

serhiy-storchaka <[email protected]> Mon, 10 Aug 2026 09:45:38 -0400 (EDT)
Newsgroups gmane.comp.python.cvs
Message-ID <[email protected]>
https://github.com/python/cpython/commit/63bf95b959f0343fd488643103f9802583289acb
commit: 63bf95b959f0343fd488643103f9802583289acb
branch: main
author: Kurt Mosiejczuk <[email protected]>
committer: serhiy-storchaka <[email protected]>
date: 2026-08-10T13:45:22Z
summary:

bpo-46446: Like FreeBSD, MULTIARCH should not be passed on OpenBSD (GH-30721)

files:
A Misc/NEWS.d/next/Build/2026-08-10-12-00-00.gh-issue-90604.Kx7pQn.rst
M configure
M configure.ac

diff --git a/Misc/NEWS.d/next/Build/2026-08-10-12-00-00.gh-issue-90604.Kx7pQn.rst b/Misc/NEWS.d/next/Build/2026-08-10-12-00-00.gh-issue-90604.Kx7pQn.rst
new file mode 100644
index 000000000000000..a367e2aef4ac59a
--- /dev/null
+++ b/Misc/NEWS.d/next/Build/2026-08-10-12-00-00.gh-issue-90604.Kx7pQn.rst
@@ -0,0 +1 @@
+``configure`` no longer sets ``MULTIARCH`` on OpenBSD platforms.
diff --git a/configure b/configure
index 836eb88e4cdb6e5..e81b221faded675 100755
--- a/configure
+++ b/configure
@@ -7376,6 +7376,8 @@ case $ac_sys_system in #(
     MULTIARCH="" ;; #(
   FreeBSD*) :
     MULTIARCH="" ;; #(
+  OpenBSD*) :
+    MULTIARCH="" ;; #(
   *) :
     MULTIARCH=$($CC --print-multiarch 2>/dev/null)
  ;;
diff --git a/configure.ac b/configure.ac
index 3a9841b1e7d0747..36568288388555a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1202,6 +1202,7 @@ AS_CASE([$ac_sys_system],
   [Darwin*], [MULTIARCH=""],
   [iOS], [MULTIARCH=""],
   [FreeBSD*], [MULTIARCH=""],
+  [OpenBSD*], [MULTIARCH=""],
   [MULTIARCH=$($CC --print-multiarch 2>/dev/null)]
 )
 AC_SUBST([MULTIARCH])

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]