Subject: Re: bug#76009: 31.0.50; Compilation error for master on OpenBSD

From: Manuel Giraud <[email-masked]>
Date: Mon, 03 Feb 2025 17:00:49 +0100

Hi,

Here is a patch that fixes this issue.
>From 4933c842987e1c9a10b76d91df712d6fedb9efd2 Mon Sep 17 00:00:00 2001
From: Manuel Giraud <[email-masked]>
Date: Mon, 3 Feb 2025 16:57:58 +0100
Subject: [PATCH] Fix OpenBSD compilation (bug#76009)

* configure.ac: Remove a bogus LD_SWITCH_SYSTEM for OpenBSD.
---
 configure.ac | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 7b4c03c0908..33d04a5bdb9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2161,9 +2161,7 @@ AC_DEFUN
    ;;
 
   openbsd)
-   ## Han Boetes <[email-masked]> says this is necessary,
-   ## otherwise Emacs dumps core on elf systems.
-   LD_SWITCH_SYSTEM="-Z"
+      :
    ;;
 esac
 AC_SUBST([LD_SWITCH_SYSTEM])
-- 
2.48.1

-- 
Manuel Giraud